diff --git a/.github/workflows/deploy-BETA-flavors.yml b/.github/workflows/deploy-BETA-flavors.yml index d4f35d1f76d..da1a1dbdac4 100644 --- a/.github/workflows/deploy-BETA-flavors.yml +++ b/.github/workflows/deploy-BETA-flavors.yml @@ -45,6 +45,7 @@ jobs: # Set the agent to run on runs-on: ubuntu-latest permissions: + actions: write packages: write environment: name: beta diff --git a/.github/workflows/deploy-BETA-linters.yml b/.github/workflows/deploy-BETA-linters.yml index 5f4afe993c4..6984ab707f8 100644 --- a/.github/workflows/deploy-BETA-linters.yml +++ b/.github/workflows/deploy-BETA-linters.yml @@ -45,6 +45,7 @@ jobs: # Set the agent to run on runs-on: ubuntu-latest permissions: + actions: write packages: write environment: name: beta diff --git a/.github/workflows/deploy-BETA.yml b/.github/workflows/deploy-BETA.yml index bb295e2137f..7053c695198 100644 --- a/.github/workflows/deploy-BETA.yml +++ b/.github/workflows/deploy-BETA.yml @@ -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') diff --git a/.github/workflows/deploy-RELEASE-flavors.yml b/.github/workflows/deploy-RELEASE-flavors.yml index a503b5100a5..ab8af5b12df 100644 --- a/.github/workflows/deploy-RELEASE-flavors.yml +++ b/.github/workflows/deploy-RELEASE-flavors.yml @@ -35,6 +35,7 @@ jobs: # Set the agent to run on runs-on: ${{ matrix.os }} permissions: + actions: write packages: write environment: name: release diff --git a/.github/workflows/deploy-RELEASE-linters.yml b/.github/workflows/deploy-RELEASE-linters.yml index 17931925d8a..fe7ff47ac29 100644 --- a/.github/workflows/deploy-RELEASE-linters.yml +++ b/.github/workflows/deploy-RELEASE-linters.yml @@ -38,6 +38,7 @@ jobs: # Set the agent to run on runs-on: ${{ matrix.os }} permissions: + actions: write packages: write environment: name: release diff --git a/.github/workflows/deploy-RELEASE.yml b/.github/workflows/deploy-RELEASE.yml index 769241a620d..ce3e376dade 100644 --- a/.github/workflows/deploy-RELEASE.yml +++ b/.github/workflows/deploy-RELEASE.yml @@ -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