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