diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/.github/workflows/pr-commit-message.yaml | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/.github/workflows/pr-commit-message.yaml')
-rw-r--r-- | src/fluent-bit/.github/workflows/pr-commit-message.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fluent-bit/.github/workflows/pr-commit-message.yaml b/src/fluent-bit/.github/workflows/pr-commit-message.yaml new file mode 100644 index 000000000..596d9cdcb --- /dev/null +++ b/src/fluent-bit/.github/workflows/pr-commit-message.yaml @@ -0,0 +1,21 @@ +name: 'Pull requests commit messages' +on: + pull_request: + types: + - opened + - edited + - reopened + - synchronize +jobs: + check-commit-message: + name: Check Commit Message + runs-on: ubuntu-latest + steps: + - name: Check commit subject complies with https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes + uses: gsactions/commit-message-checker@v2 + with: + pattern: '^[a-z0-9A-Z\-_\s\,\.\/]+\:[ ]{0,1}[a-zA-Z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/''\"\,><\+\[\]\!\*\\]+$' + error: 'Invalid commit subject. Please refer to: https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes' + checkAllCommitMessages: 'false' + excludeDescription: 'true' + accessToken: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file |