Merge pull request #21932 from sashashura/patch-1
GitHub Workflows security hardening
This commit is contained in:
commit
ac607bbbd5
1 changed files with 5 additions and 1 deletions
6
.github/workflows/stale-issues-safe.yml
vendored
6
.github/workflows/stale-issues-safe.yml
vendored
|
|
@ -6,9 +6,13 @@ on:
|
|||
- cron: "0 21 * * *"
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions: {} # none
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Dolibarr/stale@staleunstale
|
||||
|
|
@ -21,4 +25,4 @@ jobs:
|
|||
days-before-close: 10
|
||||
operations-per-run: 100
|
||||
dry-run: false
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue