-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(config): apply CI actions configs (#232)
Apply configurations from cryostatio/cryostat#550, cryostatio/cryostat#549, cryostatio/cryostat#553
- Loading branch information
1 parent
be5a146
commit 1c6db58
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
categories: | ||
- title: 'Features' | ||
label: 'feat' | ||
- title: 'Fixes' | ||
label: 'fix' | ||
- title: 'Documentation' | ||
label: 'docs' | ||
- title: 'Maintenance' | ||
labels: | ||
- 'chore' | ||
- 'ci' | ||
- 'cleanup' | ||
- 'perf' | ||
- 'refactor' | ||
- 'style' | ||
- 'test' | ||
|
||
autolabeler: | ||
- label: 'feat' | ||
title: '/^feat:/' | ||
- label: 'fix' | ||
title: '/^fix:/' | ||
- label: 'docs' | ||
title: '/^docs:/' | ||
|
||
- label: 'chore' | ||
title: '/^chore:/' | ||
- label: 'ci' | ||
title: '/^ci:/' | ||
- label: 'cleanup' | ||
title: '/^cleanup:/' | ||
- label: 'perf' | ||
title: '/^perf:/' | ||
- label: 'refactor' | ||
title: '/^refactor:/' | ||
- label: 'style' | ||
title: '/^style:/' | ||
- label: 'test' | ||
title: '/^test:/' | ||
|
||
template: | | ||
## Contributors | ||
$CONTRIBUTORS | ||
## What's Changed | ||
$CHANGES | ||
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
# branches to consider in the event; optional, defaults to all | ||
branches: | ||
- main | ||
# pull_request event is required only for autolabeler | ||
pull_request: | ||
# Only following types are handled by the action, but one can default to all as well | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "main" | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: semantic-pull-request | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v3.4.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pull_request_rules: | ||
- name: backport patches to v1 branch | ||
conditions: | ||
- base=main | ||
- label=backport | ||
actions: | ||
backport: | ||
branches: | ||
- v1 | ||
assignees: | ||
- "{{ author }}" |