We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5921f29 commit 999c7b4Copy full SHA for 999c7b4
.github/workflows/create-pr-to-main.yml renamed to .github/workflows/create-pr.yml
@@ -1,19 +1,15 @@
1
-name: Create PR to Main
+name: Create PR
2
3
on:
4
release:
5
types:
6
- published
7
8
-permissions:
9
- pull-requests: write
10
- contents: read
11
-
12
jobs:
13
- create-pr-to-main:
14
- name: Build project and run CI checks
+ create-pr:
+ name: Create PR
15
uses: fingerprintjs/dx-team-toolkit/.github/workflows/create-pr.yml@v1
16
with:
17
- target_branch: test
+ target_branch: ${{ github.event.release.prerelease && 'main' || 'test' }}
18
tag_name: ${{ github.event.release.tag_name }}
19
prerelease: ${{ github.event.release.prerelease }}
.github/workflows/sync-main-with-test.yml
0 commit comments