Merge pull request #154 from cynarAI/cursor/cleanup-self-hosted-runner-6331
Run artifact cleanup on self-hosted Linux
This commit is contained in:
commit
404a1d1782
@ -20,13 +20,13 @@ permissions:
|
||||
jobs:
|
||||
cleanup:
|
||||
name: Delete stale Actions artifacts
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, evoo-ci, Linux]
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Remove old artifacts
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
DRY_RUN: ${{ inputs.dry_run }}
|
||||
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'false' }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
run: |
|
||||
python3 <<'PY'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user