Repository navigation
ci: add PR automation, issue/PR templates and Dependabot - #3
Merged
Merged
Conversation
Ported from ffxiv-raid-planner and adapted to this repo: - pr-automation.yml: assign the PR author; label from the conventional commit prefix (now also matching scoped/breaking titles like "feat(syntax)!:") and from changed paths (syntax, plugin, testing, ci/cd, documentation). Fork-guarded, re-runs on new commits, and leaves existing assignees alone - Bug report / feature request templates asking for a code snippet, the syntax group under the cursor and :PythonSyntaxInfo - PR template with test, docs/changelog and fork-guard checks - Dependabot for GitHub Actions (monthly) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Address the workflow labeling and Dependabot handling issues, and update unavailable template checks.
Review effort: Lite
Findings: 1
Open (3)
What changed in this PR
Adds PR automation, contributor templates, security reporting guidance, and monthly GitHub Actions Dependabot updates.
Changes:
- Adds fork-guarded PR assignment and labeling.
- Adds issue and pull request templates.
- Configures monthly Dependabot updates.
| File | Summary |
|---|---|
.github/workflows/pr-automation.yml |
Automates PR assignment and labeling; requires fixes for stale labels, invalid prefixes, and Dependabot handling. |
.github/pull_request_template.md |
Adds contribution checks; references unavailable test and CI workflows. |
.github/ISSUE_TEMPLATE/feature_request.md |
Adds feature request guidance. |
.github/ISSUE_TEMPLATE/config.yml |
Adds security reporting guidance. |
.github/ISSUE_TEMPLATE/bug_report.md |
Adds structured bug report guidance. |
.github/dependabot.yml |
Enables monthly GitHub Actions updates. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Addresses review feedback on #3: - Labels the workflow manages are now reconciled to the current title and changed paths, so a label from an earlier push or title (e.g. "testing" after tests/ changes are dropped) is removed. Labels outside the managed set are never touched. - Skip Dependabot PRs: they run with a read-only token, so addLabels would fail the job (Dependabot labels its own PRs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PR template references tests/run.sh and the CI workflow from #2.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Adds the repo automation from ffxiv-raid-planner, adapted for a Vim plugin.
Based on #2, which is merged into this branch because the PR template refers to its
tests/run.shand CI. Merge #2 first, and this PR's diff shrinks to just the automation.Changes
pr-automation.yml: assigns the PR to its author and adds labels based on:fix:→bug,feat:→enhancement,docs:,ci:, …). Unlike the original'sstartsWith('feat:'), it also matches scoped and breaking titles likefeat(syntax)!:.syntax/→syntax,plugin//ftplugin/→plugin,tests/→testing,.github/→ci/cd,doc/or*.md→documentation.Labels that don't exist yet are created. It re-runs on
synchronize/reopened/editedand reconciles the labels it manages: a label from an earlier push or title is removed, and other labels (wontfix,good first issue, …) are left alone. Existing assignees are also left alone. Fork and Dependabot PRs are skipped, since they only get a read-only token.Issue templates: a bug report asking for a code snippet, the syntax group under the cursor,
:PythonSyntaxInfoand the editor version, plus a feature request.config.ymllinks to private security reporting, which is now enabled for this repo.PR template: checks for tests (
tests/run.sh), docs and changelog, and the workflow fork guard.Dependabot: monthly updates for GitHub Actions only.
Not ported: the release-notes gate, Discord changelog, Claude review and author backfill. They depend on ffxiv's app files and secrets.
Testing
fix:,Feat(syntax):,refactor!:,docs(readme)!:, and non-matching titles.ci/cdanddocumentation.syntaxlabel was removed,wontfixkept,bugadded, and a second run made no changes.