mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
Merge pull request #3565 from Tim-Zhang/commit-message-check-filter-out-revert-commit
workflows: stop checking revert commit
This commit is contained in:
commit
1e20baf646
8
.github/workflows/commit-message-check.yaml
vendored
8
.github/workflows/commit-message-check.yaml
vendored
@ -22,9 +22,15 @@ jobs:
|
|||||||
- name: Get PR Commits
|
- name: Get PR Commits
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
id: 'get-pr-commits'
|
id: 'get-pr-commits'
|
||||||
uses: tim-actions/get-pr-commits@v1.0.0
|
uses: tim-actions/get-pr-commits@v1.2.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# Filter out revert commits
|
||||||
|
# The format of a revert commit is as follows:
|
||||||
|
#
|
||||||
|
# Revert "<original-subject-line>"
|
||||||
|
#
|
||||||
|
filter_out_pattern: '^Revert "'
|
||||||
|
|
||||||
- name: DCO Check
|
- name: DCO Check
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user