Skip to content

Commit 5a756b2

Browse files
committed
use automatic GITHUB_TOKEN var
1 parent 8e30791 commit 5a756b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: SonarCloud Scan
6262
uses: sonarsource/sonarcloud-github-action@master
6363
env:
64-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6666

6767
build:
@@ -120,7 +120,7 @@ jobs:
120120
with:
121121
registry: ghcr.io
122122
username: ${{ github.actor }}
123-
password: ${{ secrets.GH_TOKEN }}
123+
password: ${{ secrets.GITHUB_TOKEN }}
124124

125125
- name: Set up QEMU
126126
uses: docker/setup-qemu-action@v3
@@ -135,4 +135,4 @@ jobs:
135135
uses: softprops/action-gh-release@v2
136136
with:
137137
files: build/smocker.tar.gz
138-
token: ${{ secrets.GH_TOKEN }}
138+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)