Skip to content

Commit

Permalink
[CI] adding permissions to see if gh command works
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Feb 4, 2025
1 parent 6906da5 commit 8970eb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
chmod 400 /root/.ssh/known_hosts
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null
- name: build-and-push
permissions:
actions: 'write'
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand Down

0 comments on commit 8970eb4

Please sign in to comment.