github.token

This commit is contained in:
我若为王 2024-12-10 11:26:35 +08:00
parent 9af6e1aca2
commit 2e83011091

View File

@ -17,6 +17,7 @@ permissions:
contents: read
packages: write
id-token: write
actions: write
jobs:
build:
@ -34,7 +35,7 @@ jobs:
- name: Delete workflow runs for current repo
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ steps.get-token.outputs.token }}
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 7
keep_minimum_runs: 6