ci: prefix labels with type (#1256)
Link: https://github.com/nix-community/stylix/discussions/1109#discussioncomment-13110835 Link: https://github.com/nix-community/stylix/pull/1256 Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
af4f2b5646
commit
e16d94d868
8 changed files with 17 additions and 16 deletions
2
.github/ISSUE_TEMPLATE/bug.yml
vendored
2
.github/ISSUE_TEMPLATE/bug.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Report a bug
|
||||
labels: [bug]
|
||||
labels: ["kind: bug"]
|
||||
name: Bug
|
||||
title: "<SCOPE>: <SUMMARY>"
|
||||
|
||||
|
|
|
|||
2
.github/ISSUE_TEMPLATE/change_option.yml
vendored
2
.github/ISSUE_TEMPLATE/change_option.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Request a change to an existing option
|
||||
labels: [change-option]
|
||||
labels: ["kind: change-option"]
|
||||
name: Change option
|
||||
title: "<SCOPE>: <DESCRIPTION>"
|
||||
|
||||
|
|
|
|||
2
.github/ISSUE_TEMPLATE/change_target.yml
vendored
2
.github/ISSUE_TEMPLATE/change_target.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Request a change to an existing target
|
||||
labels: [change-target]
|
||||
labels: ["kind: change-target"]
|
||||
name: Change target
|
||||
title: "<TARGET>: <DESCRIPTION>"
|
||||
|
||||
|
|
|
|||
2
.github/ISSUE_TEMPLATE/new_option.yml
vendored
2
.github/ISSUE_TEMPLATE/new_option.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Request the addition of a new option
|
||||
labels: [new-option]
|
||||
labels: ["kind: new-option"]
|
||||
name: New option
|
||||
title: "<SCOPE>: add <OPTION> option"
|
||||
|
||||
|
|
|
|||
2
.github/ISSUE_TEMPLATE/new_target.yml
vendored
2
.github/ISSUE_TEMPLATE/new_target.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Request the addition of a new target
|
||||
labels: [new-target]
|
||||
labels: ["kind: new-target"]
|
||||
name: New target
|
||||
title: "<TARGET>: add target"
|
||||
|
||||
|
|
|
|||
18
.github/labeler.yml
vendored
18
.github/labeler.yml
vendored
|
|
@ -2,52 +2,52 @@
|
|||
# This version uses `sync-labels: false`, meaning that a non-match will NOT
|
||||
# remove the label
|
||||
---
|
||||
"backport release-25.05":
|
||||
"backport: release-25.05":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- ".github/workflows/*"
|
||||
|
||||
dependencies:
|
||||
"topic: dependencies":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "flake.lock"
|
||||
|
||||
documentation:
|
||||
"topic: documentation":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "docs/**"
|
||||
- "README.md"
|
||||
|
||||
nixos:
|
||||
"topic: nixos":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/nixos/*"
|
||||
- "modules/*/nixos.nix"
|
||||
|
||||
home-manager:
|
||||
"topic: home-manager":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/hm/**"
|
||||
- "modules/*/hm.nix"
|
||||
|
||||
darwin:
|
||||
"topic: darwin":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/darwin/**"
|
||||
- "modules/*/darwin.nix"
|
||||
|
||||
droid:
|
||||
"topic: droid":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/droid/**"
|
||||
- "modules/*/droid.nix"
|
||||
|
||||
overlay:
|
||||
"topic: overlay":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/overlays.nix"
|
||||
- "modules/*/overlay.nix"
|
||||
|
||||
testbed:
|
||||
"topic: testbed":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "stylix/testbed.nix"
|
||||
|
|
|
|||
3
.github/workflows/backport.yml
vendored
3
.github/workflows/backport.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
github.event.pull_request.merged == true &&
|
||||
(
|
||||
github.event_name != 'labeled' ||
|
||||
startsWith('backport', github.event.label.name)
|
||||
startsWith('backport: ', github.event.label.name)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
@ -42,5 +42,6 @@ jobs:
|
|||
- uses: korthout/backport-action@v3
|
||||
with:
|
||||
github_token: ${{ steps.app-token.outputs.token }}
|
||||
label_pattern: "^backport: ([^ ]+)$"
|
||||
pull_title: "[${target_branch}] ${pull_title}"
|
||||
pull_description: "This is an automated backport of #${pull_number}."
|
||||
|
|
|
|||
2
.github/workflows/update-flake.yml
vendored
2
.github/workflows/update-flake.yml
vendored
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
branch: update_flake_lock_action_${{ matrix.branch }}
|
||||
commit-msg: "flake: update all inputs"
|
||||
pr-title: "${{ startsWith(matrix.branch, 'release') && format('[{0}] ', matrix.branch) || '' }}stylix: update all flake inputs" # yamllint disable-line rule:line-length
|
||||
pr-labels: dependencies
|
||||
pr-labels: "topic: dependencies"
|
||||
# yamllint disable rule:line-length
|
||||
pr-body: |
|
||||
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue