Skip to content

Run on a tag fails #19

@paskal

Description

@paskal

Here is the code I'm using:

    - name: commit kernel-specific library
      uses: github-actions-x/[email protected]
      with:
        github-token: ${{ secrets.BPFINK_COMMIT_TOKEN }}
        commit-message: 'bump kernel-specific libraries'
        rebase: true
        files: pkg/ebpf
        name: bpfink automatic commit
        email: [email protected]

Here is the output:

login ramyahasini
password ***
machine api.github.com
login ramyahasini
password ***


nothing to commit, working tree clean

Traceback (most recent call last):
  File "/entrypoint.py", line 53, in <module>
    run()
  File "/entrypoint.py", line 50, in run
    debug(git(['push', '--follow-tags', '--set-upstream', 'origin', branch]))
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 96, in __call__
    return self.run(args, **kwargs)[1]
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 232, in run
    return p.run()
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 193, in runner
    return run_proc(p, retcode, timeout)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 302, in run_proc
    return _check_process(proc, retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 22, in _check_process
    proc.verify(retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/machines/base.py", line 26, in verify
    stderr)
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 1
Command line: | /usr/bin/git push --follow-tags --set-upstream origin 0.6.36
Stderr:       | error: src refspec 0.6.36 matches more than one
              | error: failed to push some refs to 'https://github.com/bookingcom/bpfink'

This is a run on a tag release created in GitHub UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions