mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-08-26 13:26:33 +00:00
ci: skip clear cache if the PR is a fork (#1880)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user