-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: Add experimental generic conventional commits workflow
Add an experimental workflow that can be reused (maybe).
- Loading branch information
1 parent
2612c34
commit 3cff700
Showing
1 changed file
with
23 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,23 @@ | ||
name: Conventional Commits | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
ignore-actors: | ||
description: "A comma separated list of users to ignore PRs from" | ||
default: "" | ||
required: false | ||
type: string | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
jobs: | ||
conventional-commits: | ||
if: !contains(split('${{ github.event.inputs.ignore-actors }}', ','), github.actor) | ||
name: Report Conventional Commits | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Report Conventional Commits | ||
uses: greenbone/actions/conventional-commits@v2 |