From c05a5c4cfdef9787e3015a8e40f9fa8845db7214 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sat, 7 Sep 2024 00:20:33 +0200 Subject: [PATCH] feature: use SKIP_CI_PREFIX variable --- .github/workflows/main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 326cab5..a6f192e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -3,6 +3,7 @@ name: Main on: push: branches: + - main - master env: @@ -10,7 +11,7 @@ env: jobs: build: - if: "contains(github.event.head_commit.message, '[CI]:') != true" + if: "contains(github.event.head_commit.message, vars.SKIP_CI_PREFIX) != true" runs-on: docker container: @@ -47,4 +48,4 @@ jobs: - name: Push changelog uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: "[CI]: Push updated changelog" + commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"