From 0d8643a9a3367c4af11482fe8e9d23f1e2d252eb Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Thu, 12 Dec 2024 16:04:41 -0500 Subject: [PATCH] ci: update lint skip rules --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45bcf08f1d..b8b0c4e581 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,8 +62,12 @@ jobs: echo "templates: ${{ steps.filter.outputs.templates }}" lint: + # Follows same github's ci skip: [skip lint], [lint skip], [no lint] if: > - github.event_name == 'pull_request' && !contains(github.event.pull_request.title, 'no-lint') && !contains(github.event.pull_request.title, 'skip-lint') + github.event_name == 'pull_request' && + !contains(github.event.pull_request.title, '[skip lint]') && + !contains(github.event.pull_request.title, '[lint skip]') && + !contains(github.event.pull_request.title, '[no lint]') runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4