Skip to content

Commit

Permalink
Add: Add experimental generic conventional commits workflow
Browse files Browse the repository at this point in the history
Add an experimental workflow that can be reused (maybe).
  • Loading branch information
bjoernricks committed May 10, 2023
1 parent 2612c34 commit 3cff700
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions workflows/conventional-commits.yml
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

0 comments on commit 3cff700

Please sign in to comment.