We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e7f27 commit f9987b0Copy full SHA for f9987b0
.github/workflows/preview.yml
@@ -16,7 +16,8 @@ jobs:
16
if: |
17
github.event.workflow_run.event == 'pull_request' &&
18
github.event.workflow_run.conclusion == 'success' &&
19
- github.event.workflow_run.name == 'Build Website'
+ github.event.workflow_run.name == 'Build Website' &&
20
+ github.event.workflow_run.head_branch == 'main'
21
permissions:
22
actions: read
23
pull-requests: write
0 commit comments