Skip to content

Commit

Permalink
Don't pull last successful commit in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Nov 2, 2021
1 parent bcedd3f commit 990c0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 990c0ec

Please sign in to comment.