From ccc545f962b9225a58d9c3e70f7ce975273001d6 Mon Sep 17 00:00:00 2001 From: Popov Aleksey Date: Thu, 3 Dec 2026 15:22:30 +0200 Subject: [PATCH 1/3] Revert "reverted Add wf permissions (#8585)" This reverts commit 2524e261330f7d65536f49631f86aff37c2015a2. --- .github/workflows/deploy-to-artifacts.yml | 4 ++++ .github/workflows/handle-stale.yml | 4 ++++ .github/workflows/helper-rebase.yml | 2 ++ .github/workflows/no-response.yml | 3 +++ .github/workflows/release-commenter.yml | 3 +++ .github/workflows/request-deploy.yml | 4 ++++ 6 files changed, 20 insertions(+) diff --git a/.github/workflows/deploy-to-artifacts.yml b/.github/workflows/deploy-to-artifacts.yml index 3dd8e403d07..8e31c3cadd4 100644 --- a/.github/workflows/deploy-to-artifacts.yml +++ b/.github/workflows/deploy-to-artifacts.yml @@ -96,6 +96,10 @@ jobs: needs: [build, changes] runs-on: ubuntu-latest environment: CI + permissions: + contents: read + actions: write + statuses: write steps: - uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/handle-stale.yml b/.github/workflows/handle-stale.yml index 6d5f26d9fa8..5c864ee6a8e 100644 --- a/.github/workflows/handle-stale.yml +++ b/.github/workflows/handle-stale.yml @@ -6,6 +6,10 @@ on: jobs: stale: runs-on: ubuntu-latest + permissions: + contents: read + issues: write + pull-requests: write steps: - uses: actions/stale@v3 with: diff --git a/.github/workflows/helper-rebase.yml b/.github/workflows/helper-rebase.yml index 5afb73bb84d..c6f9d349942 100644 --- a/.github/workflows/helper-rebase.yml +++ b/.github/workflows/helper-rebase.yml @@ -12,6 +12,8 @@ jobs: name: Rebase if: github.event.issue.pull_request && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase')) runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout the latest code uses: actions/checkout@v3 diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index e8072452c30..ec49c7c6144 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -12,6 +12,9 @@ on: jobs: noResponse: runs-on: ubuntu-latest + permissions: + contents: read + issues: write steps: - uses: lee-dohm/no-response@v0.5.0 with: diff --git a/.github/workflows/release-commenter.yml b/.github/workflows/release-commenter.yml index 0da3a7427c1..4520659d2f1 100644 --- a/.github/workflows/release-commenter.yml +++ b/.github/workflows/release-commenter.yml @@ -5,6 +5,9 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: read + issues: write steps: - uses: apexskier/github-release-commenter@v1 diff --git a/.github/workflows/request-deploy.yml b/.github/workflows/request-deploy.yml index c56f4c76a9d..1c106f7aead 100644 --- a/.github/workflows/request-deploy.yml +++ b/.github/workflows/request-deploy.yml @@ -30,6 +30,10 @@ jobs: environment: CI needs: authenticate if: ${{ !cancelled() && (needs.authenticate.result == 'success' || needs.authenticate.result == 'skipped') }} + permissions: + contents: read + actions: write + pull-requests: read steps: - name: Request Deployment From e4d99b233cbe9e442f15ac57e673ad4744bc5558 Mon Sep 17 00:00:00 2001 From: Popov Aleksey Date: Thu, 3 Dec 2026 15:35:31 +0200 Subject: [PATCH 2/3] test --- .github/workflows/deploy-to-artifacts.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy-to-artifacts.yml b/.github/workflows/deploy-to-artifacts.yml index 8e31c3cadd4..c5d5ede6088 100644 --- a/.github/workflows/deploy-to-artifacts.yml +++ b/.github/workflows/deploy-to-artifacts.yml @@ -99,7 +99,6 @@ jobs: permissions: contents: read actions: write - statuses: write steps: - uses: actions/download-artifact@v4 with: From e67eab1c3b0dae849448383369a4f5d75c0c85d2 Mon Sep 17 00:00:00 2001 From: Popov Aleksey Date: Thu, 3 Dec 2026 15:38:02 +0200 Subject: [PATCH 3/3] Revert "test" This reverts commit e4d99b233cbe9e442f15ac57e673ad4744bc5558. --- .github/workflows/deploy-to-artifacts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-to-artifacts.yml b/.github/workflows/deploy-to-artifacts.yml index c5d5ede6088..8e31c3cadd4 100644 --- a/.github/workflows/deploy-to-artifacts.yml +++ b/.github/workflows/deploy-to-artifacts.yml @@ -99,6 +99,7 @@ jobs: permissions: contents: read actions: write + statuses: write steps: - uses: actions/download-artifact@v4 with: