Skip to content

Fix "Bump version" workflow: replace broken ad-m/github-push-action with direct git push#149

Closed
mcolpus with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-bump-version-job
Closed

Fix "Bump version" workflow: replace broken ad-m/github-push-action with direct git push#149
mcolpus with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-bump-version-job

Conversation

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown

ad-m/github-push-action@master constructs an invalid git refspec at runtime (src refspec @github.com/softwaremmm/gatekeeper_pipeline.git does not match any), causing the push step to fail with exit code 1.

Changes

  • .github/workflows/bump.yml: Replace the broken third-party action with a direct git push, passing PAT_TOKEN via env rather than inline interpolation for proper secret masking:
- name: push changes
  env:
    PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
  run: |
    git remote set-url origin "https://oauth2:${PAT_TOKEN}@github.com/${{ github.repository }}.git"
    git push origin develop --tags

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Bump version Fix "Bump version" workflow: replace broken ad-m/github-push-action with direct git push Jun 19, 2026
Copilot AI requested a review from mcolpus June 19, 2026 08:40
@bobturneruk
bobturneruk deleted the copilot/fix-bump-version-job branch June 30, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants