From d9d637aad7b1f9f04a4d5be0ea028b5e5f5d7353 Mon Sep 17 00:00:00 2001 From: Jeremy Denquin Date: Thu, 23 Nov 2023 17:30:48 +0100 Subject: [PATCH] get back to GH_TOKEN --- .github/workflows/ruby-generate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby-generate.yml b/.github/workflows/ruby-generate.yml index 2b5b685..45e8a48 100644 --- a/.github/workflows/ruby-generate.yml +++ b/.github/workflows/ruby-generate.yml @@ -70,9 +70,11 @@ jobs: git push origin $BRANCH_NAME # Store credentials for the Github CLI + echo "${{ secrets.GH_TOKEN }}" > access_token.txt # Authorize GitHub CLI for the current repository and - # create a pull-requests containing the updates + # create a pull-requests containing the updates. + gh auth login --with-token < access_token.txt gh pr create \ --body "" \ --title "$COMMIT_MESSAGE" \