Skip to content

Commit

Permalink
Give job write permission
Browse files Browse the repository at this point in the history
Also updating dependency to get rid of Node.js 16 action
  • Loading branch information
erikbosch committed Jun 11, 2024
1 parent e0e6ca3 commit b057680
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
git config --global --add safe.directory $( pwd )
- name: Identify changes in devenv repo
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
id: changesInPath
with:
filters: |
Expand Down
5 changes: 5 additions & 0 deletions src/cpp-app/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
release:
types: [published, edited]

# Needed if GITHUB_TOKEN by default do not have right to create release
permissions:
contents: write
packages: write

jobs:

get-app-name:
Expand Down
5 changes: 5 additions & 0 deletions src/python-sdk/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
release:
types: [published, edited]

# Needed if GITHUB_TOKEN by default do not have right to create release
permissions:
contents: write
packages: write

jobs:
release-package:
name: Generate package binaries
Expand Down

0 comments on commit b057680

Please sign in to comment.