From 8a84d1b06cb82ed205e5821a04ee540c4581a17e Mon Sep 17 00:00:00 2001 From: Phil Tyler Date: Wed, 20 Dec 2023 22:23:30 -0800 Subject: [PATCH] Add gh token to release-pr (#11) --- release-pr/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/release-pr/action.yml b/release-pr/action.yml index 1238638..7dd8020 100644 --- a/release-pr/action.yml +++ b/release-pr/action.yml @@ -15,6 +15,9 @@ inputs: # git_author_username: # required: false # default: "Pantheon Automation" + gh_token: + description: "The GitHub token to use for authentication." + required: true readme_md: # to avoid case sensitivty issues when getting the current version out of readme required: false default: "README.MD" @@ -24,4 +27,6 @@ runs: steps: - name: Draft Release PR shell: bash - run: bash ${{ github.action_path }}/release-pr.sh ${{ inputs.readme_md }} \ No newline at end of file + run: bash ${{ github.action_path }}/release-pr.sh ${{ inputs.readme_md }} + env: + GH_TOKEN: ${{ inputs.gh_token }}