From f245d2e9fd0c40029c5dbd8e77032248ac29211e Mon Sep 17 00:00:00 2001 From: Tatsinnit Date: Wed, 24 Jan 2024 10:18:37 +1300 Subject: [PATCH] Changes in correlation with new GH Action Permission Changes. Signed-off-by: Tatsinnit --- .github/workflows/e2e-info.yml | 5 +++++ .github/workflows/integration-json.yml | 5 +++++ .github/workflows/integration-linux.yml | 5 +++++ .github/workflows/integration-windows.yml | 5 +++++ .github/workflows/poll-starter.yml | 6 ++++++ .github/workflows/release-and-publish.yml | 5 +++++ 6 files changed, 31 insertions(+) diff --git a/.github/workflows/e2e-info.yml b/.github/workflows/e2e-info.yml index b9c7b2d3..69f9b59b 100644 --- a/.github/workflows/e2e-info.yml +++ b/.github/workflows/e2e-info.yml @@ -6,6 +6,11 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + packages: none steps: - uses: actions/checkout@v3 - name: Set up Go diff --git a/.github/workflows/integration-json.yml b/.github/workflows/integration-json.yml index 8a23d6a4..ef8f4ac0 100644 --- a/.github/workflows/integration-json.yml +++ b/.github/workflows/integration-json.yml @@ -6,6 +6,11 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + packages: none steps: - uses: actions/checkout@v2 - name: Set up Go diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index 643f1c83..b31b1b3f 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -7,6 +7,11 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + packages: none steps: - uses: actions/checkout@v3 - name: Set up Go diff --git a/.github/workflows/integration-windows.yml b/.github/workflows/integration-windows.yml index 397e9a0b..322ce29d 100644 --- a/.github/workflows/integration-windows.yml +++ b/.github/workflows/integration-windows.yml @@ -6,6 +6,11 @@ on: jobs: build: runs-on: windows-latest + permissions: + actions: read + contents: read + deployments: read + packages: none steps: - uses: actions/checkout@v3 - name: Set up Go diff --git a/.github/workflows/poll-starter.yml b/.github/workflows/poll-starter.yml index 2caf8560..be3dc2b9 100644 --- a/.github/workflows/poll-starter.yml +++ b/.github/workflows/poll-starter.yml @@ -12,6 +12,12 @@ env: jobs: poll: runs-on: ubuntu-latest + permissions: + actions: read + contents: read + deployments: read + pull-requests: write + packages: none steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 82fe8aed..77e02576 100644 --- a/.github/workflows/release-and-publish.yml +++ b/.github/workflows/release-and-publish.yml @@ -10,6 +10,11 @@ jobs: Release-Artifacts: name: Draft Release runs-on: ubuntu-latest + permissions: + actions: read + contents: write + deployments: read + packages: none steps: # Checkout code - name: Checkout