Skip to content

Commit

Permalink
Always use github.repository_owner as this is the user corresponding …
Browse files Browse the repository at this point in the history
…to secrets.PAT_TOKEN as well
  • Loading branch information
mering committed Oct 31, 2023
1 parent 6041cf6 commit a0c1a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT_TOKEN }}
- name: lower case repository_owner
id: lower_case_repository_owner
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT_TOKEN }}
- name: lower case repository_owner
id: lower_case_repository_owner
Expand Down

0 comments on commit a0c1a60

Please sign in to comment.