Skip to content

Commit 8a6b796

Browse files
committed
Fixing External PR Workflows
1 parent 3cfaf9b commit 8a6b796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/external-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
destination_branch: "external-pr/${{ github.event.pull_request.number }}"
3030

3131
- name: Create Pull Request in Internal Repository
32-
if: github.event.action == 'opened'
32+
if: ${{ github.event.action == 'opened' }}
3333
id: create_internal_pr
3434
env:
3535
GH_TOKEN: ${{ secrets.INTERNAL_REPO_TOKEN }}
@@ -67,7 +67,7 @@ jobs:
6767
6868
6969
- name: Comment on and Close External PR
70-
if: steps.create_internal_pr.outputs.INTERNAL_PR_URL != '' && github.event.action == 'opened'
70+
if: steps.create_internal_pr.outputs.INTERNAL_PR_URL != ''
7171
env:
7272
GH_TOKEN: ${{ secrets.EXTERNAL_REPO_TOKEN }}
7373
EXTERNAL_PR_NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)