Skip to content

Commit

Permalink
ci: Use the PAT when syncing proxy versions (#12317)
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Mar 21, 2024
1 parent 18fcab0 commit a95f083
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync-proxy.yml
Expand Up @@ -58,11 +58,14 @@ jobs:
echo changed=true >> "$GITHUB_OUTPUT"
fi
- if: steps.changed.outputs.changed == 'true'
env:
LINKERD2_PROXY_GITHUB_TOKEN: ${{ secrets.LINKERD2_PROXY_GITHUB_TOKEN || github.token }}
EDITOR: "true"
run: |
set -eu
git fetch origin bot/sync-proxy/"$VERSION" || true
git switch -c bot/sync-proxy/"$VERSION"
EDITOR=true bin/git-commit-proxy-version "$VERSION"
bin/git-commit-proxy-version "$VERSION"
git push origin bot/sync-proxy/"$VERSION"
- if: steps.changed.outputs.changed == 'true'
env:
Expand Down

0 comments on commit a95f083

Please sign in to comment.