Skip to content

Commit 185a0f6

Browse files
Don't try to pull request if dry run is true.
1 parent b92b82e commit 185a0f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
automated-release-${{ github.event.inputs.releaseVersion }}:automated-release-${{ github.event.inputs.releaseVersion }}
8080
git push https://${{ github.token }}@github.com/${{ github.repository }}.git v${{ github.event.inputs.releaseVersion }}
8181
- name: Pull Request
82+
if: ${{ github.event.inputs.dry-run != 'true' }}
8283
uses: repo-sync/pull-request@v2
8384
with:
8485
source_branch: automated-release-${{ github.event.inputs.releaseVersion }}
@@ -90,4 +91,4 @@ jobs:
9091
uses: ncipollo/release-action@v1
9192
with:
9293
token: ${{ secrets.GITHUB_TOKEN }}
93-
tag: v${{ github.event.inputs.releaseVersion }}
94+
tag: v${{ github.event.inputs.releaseVersion }}

0 commit comments

Comments
 (0)