Community #258
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
| name: Community | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| issues: | |
| types: [opened] | |
| # greetings only posts a first-time contributor comment via the reusable; it | |
| # never checks out or runs PR head code. pull_request_target is required to | |
| # comment on fork PRs. | |
| pull_request_target: # zizmor: ignore[dangerous-triggers] | |
| types: [opened] | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| stale: | |
| if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | |
| uses: netresearch/.github/.github/workflows/stale.yml@main | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| lock: | |
| if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | |
| uses: netresearch/.github/.github/workflows/lock.yml@main | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| greetings: | |
| if: github.event_name == 'issues' || github.event_name == 'pull_request_target' | |
| uses: netresearch/.github/.github/workflows/greetings.yml@main | |
| permissions: | |
| issues: write | |
| pull-requests: write |