Skip to content

Commit

Permalink
log token perms
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunmenon95 committed May 29, 2024
1 parent d0d7b32 commit 8757c7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Check GitHub Token Permissions
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth status --hostname github.com --show-token-scopes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Container Image to GitHub Container Repository
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 8757c7f

Please sign in to comment.