Stale Issues And Pull Requests scheduled 32113323107 #69
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: "Stale Issues and Pull Requests" | |
| run-name: >- | |
| ${{ | |
| github.event_name == 'issues' && | |
| format('Stale Issues And Pull Requests issue #{0}', github.event.issue.number) || | |
| github.event_name == 'pull_request_target' && | |
| format('Stale Issues And Pull Requests #{0}', github.event.pull_request.number) || | |
| github.event_name == 'schedule' && | |
| format('Stale Issues And Pull Requests scheduled {0}', github.run_id) || | |
| format('Stale Issues And Pull Requests {0}', github.ref_name || github.run_id) | |
| }} | |
| concurrency: | |
| group: >- | |
| stale-management-${{ github.workflow }}-${{ | |
| github.event.issue.number || | |
| github.event.pull_request.number || | |
| github.sha || | |
| github.ref || | |
| github.run_id | |
| }} | |
| cancel-in-progress: true | |
| on: | |
| schedule: | |
| - cron: "38 7 * * *" | |
| issues: | |
| types: | |
| - "opened" | |
| - "reopened" | |
| - "edited" | |
| pull_request_target: | |
| branches: | |
| - "main" | |
| - "master" | |
| types: | |
| - "opened" | |
| - "reopened" | |
| - "synchronize" | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| stale: | |
| name: "Stale Issues And Pull Requests" | |
| permissions: | |
| contents: "read" | |
| issues: "write" | |
| pull-requests: "write" | |
| uses: "Nick2bad4u/workflow-templates/.github/workflows/reusable-stale-management.yml@main" |