Skip to content

Commit cb09e56

Browse files
committedDec 23, 2024
fix: update github actions
1 parent 6e7ade8 commit cb09e56

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎.github/workflows/formatting.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ on:
66
- ".github/**"
77
- "*.md"
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
stylua:
1114
runs-on: ubuntu-latest
1215
steps:
1316
- uses: actions/checkout@v4
14-
with:
15-
token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
1617

1718
- uses: JohnnyMorganz/stylua-action@v2
1819
with:
19-
token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
20+
token: ${{ secrets.GITHUB_TOKEN }}
2021
args: --config-path=stylua.toml lua/
2122

2223
- uses: stefanzweifel/git-auto-commit-action@v4
@@ -27,5 +28,5 @@ jobs:
2728
- name: Push changes
2829
uses: ad-m/github-push-action@master
2930
with:
30-
github_token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
31+
token: ${{ secrets.GITHUB_TOKEN }}
3132
branch: ${{ github.ref }}

‎.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ jobs:
7272
run: |
7373
git config user.name github-actions[bot]
7474
git config user.email github-actions[bot]@users.noreply.github.com
75-
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
75+
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/googleapis/release-please-action.git"

0 commit comments

Comments
 (0)