diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..cea0c18 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,28 @@ +## Summary + + +## Related + + +## Type of change +- [ ] Feature +- [ ] Bug fix +- [ ] Tech-debt / refactor +- [ ] Docs +- [ ] Security / hardening +- [ ] Breaking change + +## Test plan + + +## Screenshots / recordings + + +## Deployment notes + + +## Checklist +- [ ] Tests added / updated and passing locally +- [ ] Docs updated if behavior or config changed +- [ ] No secrets / credentials in the diff +- [ ] For security-sensitive paths: appropriate reviewer requested diff --git a/.github/workflows/customer-priority-bump.yml b/.github/workflows/customer-priority-bump.yml new file mode 100644 index 0000000..ea4e9ea --- /dev/null +++ b/.github/workflows/customer-priority-bump.yml @@ -0,0 +1,10 @@ +name: Customer priority bump + +on: + issues: + types: [labeled] + +jobs: + bump: + uses: tracebloc/.github/.github/workflows/customer-priority-bump.yml@main + secrets: inherit diff --git a/.github/workflows/set-pr-status.yml b/.github/workflows/set-pr-status.yml new file mode 100644 index 0000000..e19a67e --- /dev/null +++ b/.github/workflows/set-pr-status.yml @@ -0,0 +1,10 @@ +name: Set PR Status + +on: + pull_request: + types: [opened, reopened, ready_for_review, converted_to_draft] + +jobs: + set-status: + uses: tracebloc/.github/.github/workflows/set-pr-status.yml@main + secrets: inherit diff --git a/.github/workflows/stale-backlog.yml b/.github/workflows/stale-backlog.yml new file mode 100644 index 0000000..318e372 --- /dev/null +++ b/.github/workflows/stale-backlog.yml @@ -0,0 +1,33 @@ +name: Close stale backlog issues + +on: + schedule: + - cron: '0 0 * * 1' # Mondays 00:00 UTC + workflow_dispatch: {} + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + days-before-issue-stale: 42 # 6 weeks of no activity → warning + days-before-issue-close: 14 # +2 weeks of silence → close + stale-issue-label: 'stale' + stale-issue-message: | + 👋 This issue has had no activity for 6 weeks. + + If it's still relevant, please leave a comment with current context (or assign someone). Otherwise it will auto-close in 2 weeks. + + To exempt permanently, add the `keep-open` label. + close-issue-message: | + Closing due to 8+ weeks of inactivity. Please reopen with current context if relevant. + exempt-issue-labels: 'keep-open,blocked' + # PRs: don't auto-stale — branch protection + active reviews govern those + days-before-pr-stale: -1 + days-before-pr-close: -1 + operations-per-run: 50