mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 20:29:02 +00:00
stale: Use github token and add permission
This commit is contained in:
@@ -2,16 +2,17 @@ name: "Close stale PR"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.FLATHUBBOT_TOKEN }}
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-pr-message: "This PR hasn't received any updates in a year and will be automatically closed in 30 days. If you still plan to work on this please comment or re-open the PR."
|
||||
days-before-stale: -1
|
||||
days-before-close: -1
|
||||
|
||||
Reference in New Issue
Block a user