From ffe73744732111eaa04667855d668895f140448e Mon Sep 17 00:00:00 2001 From: adrian-kong Date: Fri, 20 Oct 2023 08:55:48 +1100 Subject: [PATCH] Pass secrets --- .github/workflows/force-release.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/force-release.yaml b/.github/workflows/force-release.yaml index 0f061d29c7..a539c52ff6 100644 --- a/.github/workflows/force-release.yaml +++ b/.github/workflows/force-release.yaml @@ -51,19 +51,20 @@ jobs: run: echo "TODO" - name: Commit changes run: | - git checkout -b "force-release-v$MAJOR.$MINOR.$PATCH" - git add . +# git checkout -b "force-release-v$MAJOR.$MINOR.$PATCH" +# git add . git status - git commit -m "force release v$MAJOR.$MINOR.$PATCH" - git push --set-upstream origin "force-release-v$MAJOR.$MINOR.$PATCH" +# git commit -m "force release v$MAJOR.$MINOR.$PATCH" +# git push --set-upstream origin "force-release-v$MAJOR.$MINOR.$PATCH" - name: Create PR uses: peter-evans/create-pull-request@v3 with: - token: ${{ env.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN }} commit-message: "chore: force release v$MAJOR.$MINOR.$PATCH" title: "chore: force release v$MAJOR.$MINOR.$PATCH" body: "chore: force release v$MAJOR.$MINOR.$PATCH" branch: "force-release-v$MAJOR.$MINOR.$PATCH" base: "master" branch-suffix: "force-release-v$MAJOR.$MINOR.$PATCH" - delete-branch: true \ No newline at end of file + delete-branch: true + add-paths: * \ No newline at end of file