diff --git a/.github/workflows/test-increased-wait-time.yml b/.github/workflows/test-increased-wait-time.yml index 389e1c5..e862a2f 100644 --- a/.github/workflows/test-increased-wait-time.yml +++ b/.github/workflows/test-increased-wait-time.yml @@ -15,6 +15,10 @@ on: description: "The sha of the commit that triggered the workflow run" required: false type: "string" +permissions: + contents: read + statuses: write + jobs: setup: runs-on: ubuntu-latest @@ -46,7 +50,7 @@ jobs: with: repo: ${{ github.repository }} sha: ${{ github.sha }} - token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} status: success context: continuous-delivery/${{ needs.setup.outputs.environment }}.test-app diff --git a/.github/workflows/test-positive.yml b/.github/workflows/test-positive.yml index 5820b31..f119852 100644 --- a/.github/workflows/test-positive.yml +++ b/.github/workflows/test-positive.yml @@ -15,6 +15,10 @@ on: description: "The sha of the commit that triggered the workflow run" required: false type: "string" +permissions: + contents: read + statuses: write + jobs: setup: runs-on: ubuntu-latest @@ -47,7 +51,7 @@ jobs: with: repo: ${{ github.repository }} sha: ${{ github.sha }} - token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} status: success context: continuous-delivery/${{ needs.setup.outputs.environment }}.test-app diff --git a/.github/workflows/test-wrong-status.yml b/.github/workflows/test-wrong-status.yml index 1c794e0..d4cfc14 100644 --- a/.github/workflows/test-wrong-status.yml +++ b/.github/workflows/test-wrong-status.yml @@ -15,6 +15,10 @@ on: description: "The sha of the commit that triggered the workflow run" required: false type: "string" +permissions: + contents: read + statuses: write + jobs: setup: runs-on: ubuntu-latest @@ -47,7 +51,7 @@ jobs: with: repo: ${{ github.repository }} sha: ${{ github.sha }} - token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} status: pending context: continuous-delivery/${{ needs.setup.outputs.environment }}.test-app @@ -90,6 +94,6 @@ jobs: with: repo: ${{ github.repository }} sha: ${{ github.sha }} - token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} status: success context: continuous-delivery/${{ needs.setup.outputs.environment }}.test-app diff --git a/action.yml b/action.yml index 5e6651a..40c9d42 100644 --- a/action.yml +++ b/action.yml @@ -31,6 +31,6 @@ inputs: description: "Commit status state wait for. Valid values 'success', 'error', 'failure', 'pending'" default: "success" runs: - using: "node20" + using: "node24" main: "index.js"