Skip to content

Commit

Permalink
more CI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Feb 13, 2024
1 parent c8e1267 commit bf91222
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
19 changes: 18 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
change-template: "- #$NUMBER - $TITLE (@$AUTHOR)"
categories:
- title: "⚠ Breaking Changes"
labels:
- "breaking change"
- "breaking-change"
- title: "⬆️ Dependencies"
collapse-after: 1
labels:
- "dependencies"
- "ci"
template: |
## What’s Changed
$CHANGES
version-resolver:
major:
labels:
- "breaking-change"
- "refactor"
minor:
labels:
- "new-feature"
- "enhancement"
default: patch
23 changes: 23 additions & 0 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: PR Labels

# yamllint disable-line rule:truthy
on:
pull_request:
types:
- synchronize
- labeled
- unlabeled
branches:
- main

jobs:
pr_labels:
name: Verify
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: ludeeus/[email protected]
with:
labels: >-
breaking-change, bugfix, refactor, new-feature, maintenance, ci, dependencies
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Test with Pre-commit

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
lint:
Expand Down

0 comments on commit bf91222

Please sign in to comment.