Skip to content

feat(plan): add a plain-language Markdown report #36

feat(plan): add a plain-language Markdown report

feat(plan): add a plain-language Markdown report #36

Workflow file for this run

name: Issue intake
# Every issue opened without a milestone is unsorted by definition, so it gets
# `triage` and waits for the weekly sweep. Filing straight into an active
# milestone is the way to skip the queue — that is the whole incentive.
#
# The label is removed by deciding: give it a milestone (scheduled) or leave it
# without one (kept as an idea, browsable in the Backlog view). Nothing is
# closed for being old.
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
triage:
if: github.event.issue.milestone == null
# GitHub-hosted on purpose: self-hosted runners on a public repo are a standing
# risk, and this job only shells out to `gh issue edit`.
runs-on: ubuntu-latest
steps:
- name: Mark as untriaged
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.issue.number }}
REPO: ${{ github.repository }}
run: gh issue edit "$ISSUE" --repo "$REPO" --add-label triage