Skip to content

Commit 8b3425f

Browse files
authored
Merge pull request #20 from mercedes-benz/action-update
update workflow permissions
2 parents 49e7a71 + e6ef705 commit 8b3425f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
with:
2424
go-version: '^1.20'
2525
- name: Docker Login
26-
uses: docker/login-action@v2
26+
uses: docker/login-action@v3
2727
with:
2828
registry: ghcr.io
29-
username: ${{ secrets.GH_USERNAME }}
30-
password: ${{ secrets.GH_PAT }}
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
3131
- uses: goreleaser/goreleaser-action@v4
3232
with:
3333
distribution: goreleaser

.github/workflows/sbom-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@master
3535
- name: Docker Login
36-
uses: docker/login-action@v2
36+
uses: docker/login-action@v3
3737
with:
3838
registry: ghcr.io
3939
username: ${{ github.actor }}

0 commit comments

Comments
 (0)