Skip to content

Commit

Permalink
Pass secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-kong committed Oct 19, 2023
1 parent f056db7 commit ffe7374
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/force-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
delete-branch: true
add-paths: *

0 comments on commit ffe7374

Please sign in to comment.