mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-20 20:24:47 +02:00
ci: add missing PR pull
This commit is contained in:
parent
7ae8e66a3a
commit
442dba84e3
5
.github/workflows/clear-pr-cache.yml
vendored
5
.github/workflows/clear-pr-cache.yml
vendored
@ -18,6 +18,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
if [[ -z "${{ github.event.inputs.id }}" ]]; then
|
if [[ -z "${{ github.event.inputs.id }}" ]]; then
|
||||||
python ./scripts/clear_cache.py ${{ github.event.pull_request.number }}
|
python ./scripts/clear_cache.py ${{ github.event.pull_request.number }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user