mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-11-19 05:10:49 +01:00
ci: skip clear cache if the PR is a fork (#1880)
This commit is contained in:
parent
3ee950003b
commit
85af7ba50d
1
.github/workflows/clear_workflow_cache.yml
vendored
1
.github/workflows/clear_workflow_cache.yml
vendored
@ -17,6 +17,7 @@ on:
|
||||
|
||||
jobs:
|
||||
clear-cache:
|
||||
if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user