Skip to content

Commit

Permalink
Fix permissions to call mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Oct 20, 2024
1 parent 663f4a7 commit 7ab9a2e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-BETA-flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
# Set the agent to run on
runs-on: ubuntu-latest
permissions:
actions: write
packages: write
environment:
name: beta
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-BETA-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
# Set the agent to run on
runs-on: ubuntu-latest
permissions:
actions: write
packages: write
environment:
name: beta
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-BETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
# Set the agent to run on
runs-on: ubuntu-latest
permissions:
actions: write
packages: write
# Only run this on the main repo
if: github.repository == 'oxsecurity/megalinter' && !contains(github.event.head_commit.message, 'skip deploy') && !contains(github.event.head_commit.message, 'Release MegaLinter v')
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-RELEASE-flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
# Set the agent to run on
runs-on: ${{ matrix.os }}
permissions:
actions: write
packages: write
environment:
name: release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-RELEASE-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
# Set the agent to run on
runs-on: ${{ matrix.os }}
permissions:
actions: write
packages: write
environment:
name: release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-RELEASE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
# Only run on main repo
if: github.repository == 'oxsecurity/megalinter' && !contains(github.event.head_commit.message, 'skip deploy')
permissions:
actions: write
packages: write
environment:
name: release
Expand Down

0 comments on commit 7ab9a2e

Please sign in to comment.