diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f0fa03c..b9353fb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -48,7 +48,7 @@ on: default: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Used for GitHub CLI authentication + GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication permissions: contents: read # to checkout the repository diff --git a/.github/workflows/Workflow-Test-Default-CI.yml b/.github/workflows/Workflow-Test-Default-CI.yml index 8447d5a..ca2b71f 100644 --- a/.github/workflows/Workflow-Test-Default-CI.yml +++ b/.github/workflows/Workflow-Test-Default-CI.yml @@ -13,6 +13,9 @@ permissions: pull-requests: write statuses: write +env: + GITHUB_TOKEN: ${{ github.token }} + jobs: WorkflowTestCIDefault: uses: ./.github/workflows/CI.yml diff --git a/.github/workflows/Workflow-Test-Default.yml b/.github/workflows/Workflow-Test-Default.yml index ffdec57..383de72 100644 --- a/.github/workflows/Workflow-Test-Default.yml +++ b/.github/workflows/Workflow-Test-Default.yml @@ -15,6 +15,9 @@ permissions: pages: write id-token: write +env: + GITHUB_TOKEN: ${{ github.token }} + jobs: WorkflowTestDefault: uses: ./.github/workflows/workflow.yml diff --git a/.github/workflows/Workflow-Test-WithManifest-CI.yml b/.github/workflows/Workflow-Test-WithManifest-CI.yml index 9cdfab6..833bb99 100644 --- a/.github/workflows/Workflow-Test-WithManifest-CI.yml +++ b/.github/workflows/Workflow-Test-WithManifest-CI.yml @@ -13,6 +13,9 @@ permissions: pull-requests: write statuses: write +env: + GITHUB_TOKEN: ${{ github.token }} + jobs: WorkflowTestCIWithManifest: uses: ./.github/workflows/CI.yml diff --git a/.github/workflows/Workflow-Test-WithManifest.yml b/.github/workflows/Workflow-Test-WithManifest.yml index 1e2f1af..a6ca448 100644 --- a/.github/workflows/Workflow-Test-WithManifest.yml +++ b/.github/workflows/Workflow-Test-WithManifest.yml @@ -15,6 +15,9 @@ permissions: pages: write id-token: write +env: + GITHUB_TOKEN: ${{ github.token }} + jobs: WorkflowTestWithManifest: uses: ./.github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ee69177..a051b5f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -57,7 +57,7 @@ on: default: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Used for GitHub CLI authentication + GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication permissions: contents: write # to checkout the repo and create releases on the repo