saadmk11 / saadmk11/github-actions-version-updater
Unable to push branch
Open
@saadmk11 is already working on this.
Since Jun 23, 2022.
Needs More Information
- Dominant language
- Python
- Stars
- 103
- Forks
- 21
- Avg merge
- 11m
- Merged PRs (30d)
- 5
Description
Hi!
I'm currently trying to implement your workflow in https://github.com/voxpupuli/vox-pupuli-tasks/pull/479
from the workflow config:
github-action-updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.SAADMK11_GITHUB_ACTIONS_VERSION_UPDATER_VPT }}
- name: GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@v0.5.6
with:
token: ${{ secrets.SAADMK11_GITHUB_ACTIONS_VERSION_UPDATER_VPT }}
This fails with:
Create New Branch
error: pathspec 'refs/pull/479/merge' did not match any file(s) known to git
Switched to a new branch 'gh-actions-update-1655896430'
[gh-actions-update-1655896430 7cbc18e] Update GitHub Action Versions
3 files changed, 14 insertions(+), 14 deletions(-)
To https://github.com/voxpupuli/vox-pupuli-tasks
! [remote rejected] gh-actions-update-1655896430 -> gh-actions-update-1655896430 (shallow update not allowed)
error: failed to push some refs to 'https://github.com/voxpupuli/vox-pupuli-tasks'
Create Pull Request
Warning: Could not create a pull request on voxpupuli/vox-pupuli-tasks, status code: [422]
and a couple of questions:
- Does the token for actions/checkout@v2 actually needs the workflow scope?
- The action is marked as successful, even when the push failed. I think that should be changed?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.