diff --git a/.github/workflows/grug.pr-gate.yml b/.github/workflows/grug.pr-gate.yml new file mode 100644 index 0000000..65cda15 --- /dev/null +++ b/.github/workflows/grug.pr-gate.yml @@ -0,0 +1,23 @@ +name: Grug · PR DoR check + +# Calls the reusable Grug workflow at githumps/grug (public). Static +# checks are advisory by default for fresh rollout (strict: false). Flip +# to strict: true once the repo's PR template aligns with DoR. + +on: + pull_request: + types: [opened, edited, synchronize, ready_for_review] + +permissions: + contents: read + pull-requests: write + issues: write + +jobs: + grug: + name: Grug · DoR check + uses: githumps/grug/.github/workflows/_reusable.grug-pr-gate.yml@main + with: + strict: false + secrets: + poolside_api_key: ${{ secrets.POOLSIDE_API_KEY }} diff --git a/.github/workflows/grug.pulse.yml b/.github/workflows/grug.pulse.yml new file mode 100644 index 0000000..5fb183e --- /dev/null +++ b/.github/workflows/grug.pulse.yml @@ -0,0 +1,24 @@ +name: Grug · weekly pulse + +# Mondays 13:00 UTC — opens an issue summarizing iteration health. +# Filterable later via label `grug-pulse`. + +on: + schedule: + - cron: '0 13 * * 1' + workflow_dispatch: + +permissions: + contents: read + issues: write + pull-requests: read + +jobs: + pulse: + name: Grug · pulse + uses: githumps/grug/.github/workflows/_reusable.grug-pulse.yml@main + with: + issue_label: "grug-pulse" + mode: "weekly" + secrets: + poolside_api_key: ${{ secrets.POOLSIDE_API_KEY }}