0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

ci: testing PR create and merge - removed the if that was causing it not to run

This commit is contained in:
Scott 2024-01-29 10:46:36 -05:00
parent 2e653d1905
commit 5c98982612

View File

@ -34,14 +34,12 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5 - uses: stefanzweifel/git-auto-commit-action@v5
# create PR using GitHub CLI # create PR using GitHub CLI
- name: create PR with release info - name: create PR with release info
if: steps.changelog.outputs.skipped == 'false'
id: create-pr id: create-pr
run: gh pr create --base main --head release-from-${{ github.sha }} --title 'Merge new release into main' --body 'Created by Github action' run: gh pr create --base main --head release-from-${{ github.sha }} --title 'Merge new release into main' --body 'Created by Github action'
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# merge PR using GitHub CLI # merge PR using GitHub CLI
- name: merge PR with release info - name: merge PR with release info
if: steps.changelog.outputs.skipped == 'false'
id: merge-pr id: merge-pr
run: gh pr merge --admin --merge --subject 'Merge release info' --delete-branch run: gh pr merge --admin --merge --subject 'Merge release info' --delete-branch
env: env: