Skip to content

Commit

Permalink
fix permissions of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbasu committed Feb 17, 2023
1 parent acfd473 commit 80bd19e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
matrix:
language: [ 'python' ]

permissions:
contents: write
packages: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down Expand Up @@ -56,4 +60,3 @@ jobs:
../*.changes
env:
GITHUB_TOKEN: ${{ github.token }}

2 changes: 2 additions & 0 deletions .github/workflows/update-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

permissions: write-all

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down

0 comments on commit 80bd19e

Please sign in to comment.