Skip to content

Commit 359ec21

Browse files
authored
ci(labels): switch automation and templates to the migrated label set (#11323)
2 parents 39cef3c + d3b52e0 commit 359ec21

15 files changed

Lines changed: 23 additions & 58 deletions

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: '🐛 Bug report'
22
description: Create a report to help us improve
33
title: 'bug: '
4-
labels: [C-bug, S-needs-triage]
4+
type: Bug
55
body:
66
- type: markdown
77
attributes:

.github/ISSUE_TEMPLATE/devops_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: '🚦 DevOps Report'
33
description: Issues related to the Zebra build, test, or release process.
44
title: 'devops: '
5-
labels: [A-devops, C-bug, S-needs-triage]
5+
labels: [devops]
6+
type: Bug
67
body:
78
- type: markdown
89
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: "🚧 Change request"
33
description: Suggest a feature or change for this project
44
title: 'feature: '
5-
labels: [C-enhancement, S-needs-triage]
5+
type: Feature
66
body:
77
- type: markdown
88
attributes:

.github/ISSUE_TEMPLATE/private_security_issue.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: '🔓 Private Security Issue'
33
description: Zebra team use only
44
title: 'Security Issue #NNN'
5-
labels: [C-security, S-needs-triage]
5+
labels: [security]
6+
type: Bug
67
body:
78
- type: markdown
89
attributes:

.github/ISSUE_TEMPLATE/release.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: "🚀 Zebra Release"
33
about: "Zebra team use only"
44
title: "Publish next Zebra release: (version)"
5-
labels: "A-release, C-exclude-from-changelog, P-Medium :zap:"
5+
labels: "A-release"
6+
type: Task
67
assignees: ""
78
---
89

.github/ISSUE_TEMPLATE/usability_testing_plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: "📋 Usability Testing Plan"
33
about: Create a Usability Testing Plan
44
title: "Usability Testing Plan"
5-
labels: C-research
5+
type: Task
66
assignees: ""
77
---
88

.github/ISSUE_TEMPLATE/zcashd_dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: "Upgrade zcashd dependencies"
33
description: "Specific steps for upgrading dependencies shared with zcashd. Zebra developers only."
44
title: 'Upgrade dependencies for zcashd (version)'
5-
labels: [A-dependencies, A-script, S-needs-triage]
5+
type: Task
66
body:
77
- type: markdown
88
attributes:

.github/PULL_REQUEST_TEMPLATE/hotfix-release-checklist.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: "Hotfix Release Checklist Template"
33
about: "Checklist to create and publish a hotfix Zebra release"
4-
title: "Release Zebra (version)"
5-
labels: "A-release, C-exclude-from-changelog, P-Critical :ambulance:"
4+
title: "release: Zebra (version)"
5+
labels: "A-release"
66
assignees: ""
77
---
88

@@ -14,7 +14,6 @@ A hotfix release should only be created when a bug or critical issue is discover
1414
for example: `hotfix-v2.3.1` - this needs to be different to the tag name
1515
- [ ] Make the required changes
1616
- [ ] Create a hotfix release PR by adding `&template=hotfix-release-checklist.md` to the comparing url ([Example](https://github.com/ZcashFoundation/zebra/compare/bump-v1.0.0?expand=1&template=hotfix-release-checklist.md)).
17-
- [ ] Add the `C-exclude-from-changelog` label so that the PR is omitted from the next release changelog
1817
- [ ] Add the `A-release` tag to the release pull request in order for the `check-no-git-dependencies` to run.
1918
- [ ] Add the `do-not-merge` tag to prevent Mergify from merging, since after PR approval the
2019
release is done from the branch itself.

.github/PULL_REQUEST_TEMPLATE/release-checklist-legacy.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: "Legacy Release Checklist Template"
33
about: "Manual fallback checklist to create and publish a Zebra release"
4-
title: "Release Zebra (version)"
5-
labels: "A-release, C-exclude-from-changelog, P-Critical :ambulance:"
4+
title: "release: Zebra (version)"
5+
labels: "A-release"
66
assignees: ""
77
---
88

@@ -75,7 +75,6 @@ fastmod --fixed-strings '1.58' '1.65'
7575
for example: `bump-v1.0.0` - this needs to be different to the tag name
7676
- [ ] Create a release PR by adding `&template=release-checklist-legacy.md` to the comparing url ([Example](https://github.com/ZcashFoundation/zebra/compare/bump-v1.0.0?expand=1&template=release-checklist-legacy.md)).
7777
- [ ] Freeze the [`batched` queue](https://dashboard.mergify.com/github/ZcashFoundation/repo/zebra/queues) using Mergify.
78-
- [ ] Mark all the release PRs as `Critical` priority, so they go in the `urgent` Mergify queue.
7978
- [ ] Mark all non-release PRs with `do-not-merge`, because Mergify checks approved PRs against every commit, even when a queue is frozen.
8079
- [ ] Add the `A-release` tag to the release pull request in order for the `check-no-git-dependencies` to run.
8180

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ When the PR adds abstraction, flags, generics, or refactors:
9696
- Changelogs are generated by [changie](https://changie.dev) from `.changes/`: never edit `CHANGELOG.md` or a crate's `CHANGELOG.md` by hand
9797
- User-visible changes need a change fragment: `changie new -j zebrad -k Added -b "..."`
9898
- Library-consumer-visible changes need one fragment per affected crate: `changie new -j zebra-chain -j zebra-state -k breaking -b "..."`
99-
- PR labels must match the intended changelog category (`C-bug`, `C-feature`, `C-security`, etc.)
10099
- PR title and branch commits follow conventional commits (merged to main with a merge commit, so branch commits are preserved)
101100

102101
## Extra Scrutiny Areas

0 commit comments

Comments
 (0)