From e8b1a667343f25d84fdf8ad71d0405cc054faa49 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 11 Jan 2023 11:23:31 -0800 Subject: [PATCH] Allow `GITHUB_TOKEN` to be passed into the reusable workflow --- .github/workflows/reusable-code-quality.yml | 4 ++++ .github/workflows/reusable-regenerate-readme.yml | 4 ++++ .github/workflows/reusable-testing.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/reusable-code-quality.yml b/.github/workflows/reusable-code-quality.yml index 3256d21..79c8dda 100644 --- a/.github/workflows/reusable-code-quality.yml +++ b/.github/workflows/reusable-code-quality.yml @@ -2,6 +2,10 @@ name: Code Quality Checks on: workflow_call: + secrets: + GITHUB_TOKEN: + description: 'GitHub token used to authorize requests' + required: true # Cancels all previous workflow runs for the same branch that have not yet completed. concurrency: diff --git a/.github/workflows/reusable-regenerate-readme.yml b/.github/workflows/reusable-regenerate-readme.yml index 7fcda0a..756a615 100644 --- a/.github/workflows/reusable-regenerate-readme.yml +++ b/.github/workflows/reusable-regenerate-readme.yml @@ -2,6 +2,10 @@ name: Regenerate README file on: workflow_call: + secrets: + GITHUB_TOKEN: + description: 'GitHub token used to authorize requests' + required: true # Cancels all previous workflow runs for the same branch that have not yet completed. concurrency: diff --git a/.github/workflows/reusable-testing.yml b/.github/workflows/reusable-testing.yml index de1bed3..8468b17 100644 --- a/.github/workflows/reusable-testing.yml +++ b/.github/workflows/reusable-testing.yml @@ -2,6 +2,10 @@ name: Testing on: workflow_call: + secrets: + GITHUB_TOKEN: + description: 'GitHub token used to authorize requests' + required: true # Cancels all previous workflow runs for the same branch that have not yet completed. concurrency: