mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-05 10:43:24 +00:00
fix(ci): stale workflow permissions
This commit is contained in:
10
.github/workflows/stale.yml
vendored
10
.github/workflows/stale.yml
vendored
@@ -1,18 +1,16 @@
|
|||||||
---
|
---
|
||||||
name: Stale
|
name: Stale
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 8 * * *"
|
- cron: "0 8 * * *"
|
||||||
workflow_call:
|
workflow_call:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write # only for delete-branch option
|
|
||||||
issues: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
uses: ivuorinen/.github/.github/workflows/stale.yml@main
|
uses: ivuorinen/.github/.github/workflows/stale.yml@main
|
||||||
|
|||||||
Reference in New Issue
Block a user