Don't pull last successful commit in forks

This commit is contained in:
ghorsington committed 2021-11-02 22:04:51 +02:00
1 parent bcedd3fc29
commit 990c0ec6af
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
id: last_successful_commit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ env.GITHUB_TOKEN != null }}
if: ${{ steps.be_status.outputs.is_be == 'true' && env.GITHUB_TOKEN != null }}
with:
branch: master
workflow_id: build_be.yml