Skip to content

Commit

Permalink
ci: add semantic PRs action
Browse files Browse the repository at this point in the history
Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
  • Loading branch information
Adembc committed Jun 3, 2024
1 parent 9a945fb commit 4acbaee
Show file tree
Hide file tree
Showing 14 changed files with 21,455 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage/
node_modules/
5 changes: 5 additions & 0 deletions .github/actions/conventional-release-labels/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# GitHub Action - conventional-release-labels

This is a fork of the [`conventional-release-labels`](https://github.com/bcoe/conventional-release-labels) action that among other things, upgrades it to `node16`.

The fork was based on the [`v1.3.1`](https://github.com/bcoe/conventional-release-labels/releases/tag/v1.3.1) release.
29 changes: 29 additions & 0 deletions .github/actions/conventional-release-labels/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "conventional-release-labels"
description: "automatically adds labels to pull requests based on Conventional Commits. Works with GitHub automated releases"
inputs:
token:
description: "GitHub token for applying labels, defaults to using secrets.GITHUB_TOKEN"
required: false
default: ${{ github.token }}
type_labels:
description: "What labels to apply to different conventional commit types"
required: false
default: |-
{ "feat": "feature", "fix": "fix", "breaking": "breaking" }
ignored_types:
description: "Conventional Commit types that should have ignore_label applied"
required: false
default: |-
["chore"]
ignore_label:
description: "label to apply for ignored commits"
required: false
default: "ignore-for-release"

branding:
icon: "align-justify"
color: "yellow"

runs:
using: "node16"
main: "dist/index.js"
Loading

0 comments on commit 4acbaee

Please sign in to comment.