Skip to content

Stale

Stale #167

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Stale
on:
schedule:
- cron: 30 1 * * *
workflow_dispatch:
permissions:
contents: read
jobs:
stale:
name: Stale
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
issues: write
pull-requests: write
steps:
- name: Generate Token
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Stale
uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
with:
repo-token: ${{ steps.app-token.outputs.token }}
stale-issue-message: |
This issue has been marked as stale due to 60 days of inactivity. Please remove the stale label or leave a comment to keep it open.
If no action is taken, it will be automatically closed in 7 days.
stale-pr-message: |
This pull request has been marked as stale due to 60 days of inactivity. Please remove the stale label or leave a comment to keep it open.
If no action is taken, it will be automatically closed in 7 days.
close-issue-message: |
This issue has been automatically closed after 7 days of inactivity following the stale status.
close-pr-message: |
This pull request has been automatically closed after 7 days of inactivity following the stale status.
stale-issue-label: stale
stale-pr-label: stale
delete-branch: true