chore(delete-workflow-runs.yml): update config
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# https://github.com/marketplace/actions/delete-workflow-runs
|
||||||
name: Delete old workflow runs
|
name: Delete old workflow runs
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -8,11 +9,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Delete workflow runs
|
- name: Delete workflow runs
|
||||||
uses: Mattraks/delete-workflow-runs@v2
|
uses: Mattraks/delete-workflow-runs@v2.0.6
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
retain_days: 1
|
retain_days: 1
|
||||||
keep_minimum_runs: 5
|
keep_minimum_runs: 5
|
||||||
Reference in New Issue
Block a user