diff --git a/.github/workflows/automerge-approved.yml b/.github/workflows/automerge-approved.yml index e5ad3d6..d767f53 100644 --- a/.github/workflows/automerge-approved.yml +++ b/.github/workflows/automerge-approved.yml @@ -63,12 +63,14 @@ jobs: - name: Generate a token id: generate-token if: steps.auth-check.outputs.use_app_auth == 'true' - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0 with: client-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} owner: ${{ github.repository_owner }} repositories: ${{ github.event.repository.name }} + permission-contents: write + permission-pull-requests: write - name: Install GitHub CLI env: diff --git a/.github/workflows/gitops-deploy.yml b/.github/workflows/gitops-deploy.yml index 8f9a284..5a33c4a 100644 --- a/.github/workflows/gitops-deploy.yml +++ b/.github/workflows/gitops-deploy.yml @@ -63,11 +63,12 @@ jobs: - name: Generate app token id: generate-token if: steps.auth-check.outputs.use_app_auth == 'true' - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0 with: client-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} repositories: ${{ inputs.repository }} + permission-contents: write - name: Checkout gitops repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/helm-publish.yml b/.github/workflows/helm-publish.yml index 8884e71..699d4c3 100644 --- a/.github/workflows/helm-publish.yml +++ b/.github/workflows/helm-publish.yml @@ -89,7 +89,7 @@ jobs: - name: Generate app token id: generate-token if: steps.auth-check.outputs.use_app_auth == 'true' - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0 with: client-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index be6ce81..55ba9d1 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -71,7 +71,7 @@ jobs: steps: - name: Generate a token id: generate-token - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0 with: client-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index a74d4e6..a42d03c 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -90,12 +90,16 @@ jobs: - name: Generate a token id: generate-token if: steps.auth-check.outputs.use_app_auth == 'true' - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0 with: client-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} owner: ${{ github.repository_owner }} repositories: ${{ github.event.repository.name }} + permission-contents: write + permission-packages: write + permission-issues: write + permission-pull-requests: write - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1