feat: run commands on new branch
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Update version number
|
- name: Update version number
|
||||||
run: |
|
run: |
|
||||||
|
git checkout -b add-new-release &&
|
||||||
#sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo \"${{env.version}}\" | \
|
#sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo \"${{env.version}}\" | \
|
||||||
sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo 8.2 | \
|
sed "s/PREV_RELEASE=.*/PREV_RELEASE=\"$(echo 8.2 | \
|
||||||
awk '{print $1}')\"/" \
|
awk '{print $1}')\"/" \
|
||||||
@ -31,6 +32,7 @@ jobs:
|
|||||||
#if: contains(steps.update.outputs.STATUS, '==')
|
#if: contains(steps.update.outputs.STATUS, '==')
|
||||||
uses: repo-sync/pull-request@v2
|
uses: repo-sync/pull-request@v2
|
||||||
with:
|
with:
|
||||||
|
source_branch: "add-new-release"
|
||||||
destination_branch: "master"
|
destination_branch: "master"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
pr_allow_empty: true
|
pr_allow_empty: true
|
||||||
|
Reference in New Issue
Block a user