mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-15 15:14:06 +00:00
Set: ``` permissions: contents: read ``` as the default top-level permissions explicitly to conform to recommended security practices e.g. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
21 lines
526 B
YAML
21 lines
526 B
YAML
name: 'Automatically close stale PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
stale-pr-message: 'This PR has been opened without with no activity for 180 days. Comment on the issue otherwise it will be closed in 7 days'
|
|
days-before-pr-stale: 180
|
|
days-before-pr-close: 7
|
|
days-before-issue-stale: -1
|
|
days-before-issue-close: -1
|