diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43c3d7c..aca1a64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: build: name: ${{ matrix.os }} python ${{ matrix.python-version }} runs-on: ${{ matrix.os }} - if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" + if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" strategy: fail-fast: false matrix: @@ -72,7 +72,7 @@ jobs: - name: Bump version shell: bash run: | - export version_bump_rule=$(echo ${{ github.event.head_commit.message }} | python .github/scripts/parse_bump_rule.py ) + export version_bump_rule=$(echo '${{ github.event.head_commit.message }}' | python .github/scripts/parse_bump_rule.py ) echo "version_bump_rule: '${version_bump_rule}'" python -m poetry version "${version_bump_rule}" export new_version=$(python .github/scripts/parse_version.py pyproject.toml) diff --git a/pyproject.toml b/pyproject.toml index c340a76..00b3834 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,5 +41,5 @@ junit_family="xunit2" addopts = "-v --tb=short --doctest-glob='' --cov --cov-branch --cov-report xml" [build-system] -requires = ["poetry-core>=1.0.10"] +requires = ["poetry-core>=1.0.0a9"] build-backend = "poetry.core.masonry.api"