Skip to content

Commit 990c0ec

Browse files
committed
Don't pull last successful commit in forks
1 parent bcedd3f commit 990c0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_be.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: last_successful_commit
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
if: ${{ env.GITHUB_TOKEN != null }}
25+
if: ${{ steps.be_status.outputs.is_be == 'true' && env.GITHUB_TOKEN != null }}
2626
with:
2727
branch: master
2828
workflow_id: build_be.yml

0 commit comments

Comments
 (0)