Skip to content

Commit

Permalink
ci: update github token variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
fyvri committed Dec 28, 2024
1 parent caa5d23 commit f5b0c62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: |
if git ls-remote --exit-code --heads origin ${{ vars.ARCHIVE_BRANCH_NAME }}; then
echo "Branch deleted successfully"
git push https://x-access-token:${{ secrets.WORKFLOW_GITHUB_TOKEN }}@github.com/${{ github.repository }} --delete ${{ vars.ARCHIVE_BRANCH_NAME }}
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} --delete ${{ vars.ARCHIVE_BRANCH_NAME }}
else
echo "Branch does not exist"
fi
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
if: env.CHANGES_EXIST == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ vars.ARCHIVE_BRANCH_NAME }}
force: true

Expand Down Expand Up @@ -195,6 +195,6 @@ jobs:
if: env.CHANGES_EXIST == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
force: true
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
Expand Down

0 comments on commit f5b0c62

Please sign in to comment.