This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-20 11:50:51 +00:00
|
|
|
name: 'authentik-repo-stale'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '30 1 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
2023-11-09 18:15:13 +00:00
|
|
|
# Needed to update issues and PRs
|
2023-06-20 11:50:51 +00:00
|
|
|
issues: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- id: generate_token
|
2023-09-11 10:27:07 +00:00
|
|
|
uses: tibdex/github-app-token@v2
|
2023-06-20 11:50:51 +00:00
|
|
|
with:
|
|
|
|
app_id: ${{ secrets.GH_APP_ID }}
|
|
|
|
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
|
|
- uses: actions/stale@v8
|
|
|
|
with:
|
|
|
|
repo-token: ${{ steps.generate_token.outputs.token }}
|
|
|
|
days-before-stale: 60
|
|
|
|
days-before-close: 7
|
|
|
|
exempt-issue-labels: pinned,security,pr_wanted,enhancement,bug/confirmed,enhancement/confirmed,question
|
|
|
|
stale-issue-label: wontfix
|
|
|
|
stale-issue-message: >
|
|
|
|
This issue has been automatically marked as stale because it has not had
|
|
|
|
recent activity. It will be closed if no further activity occurs. Thank you
|
|
|
|
for your contributions.
|
|
|
|
# Don't stale PRs, so only apply to PRs with a non-existent label
|
|
|
|
only-pr-labels: foo
|