We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cfaf9b commit 8a6b796Copy full SHA for 8a6b796
.github/workflows/external-pr.yml
@@ -29,7 +29,7 @@ jobs:
29
destination_branch: "external-pr/${{ github.event.pull_request.number }}"
30
31
- name: Create Pull Request in Internal Repository
32
- if: github.event.action == 'opened'
+ if: ${{ github.event.action == 'opened' }}
33
id: create_internal_pr
34
env:
35
GH_TOKEN: ${{ secrets.INTERNAL_REPO_TOKEN }}
@@ -67,7 +67,7 @@ jobs:
67
68
69
- name: Comment on and Close External PR
70
- if: steps.create_internal_pr.outputs.INTERNAL_PR_URL != '' && github.event.action == 'opened'
+ if: steps.create_internal_pr.outputs.INTERNAL_PR_URL != ''
71
72
GH_TOKEN: ${{ secrets.EXTERNAL_REPO_TOKEN }}
73
EXTERNAL_PR_NUMBER: ${{ github.event.pull_request.number }}
0 commit comments