diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fb0ce63d..ece3d161 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -62,6 +62,8 @@ jobs: commons: name: Build commons runs-on: ubuntu-latest + needs: [pytest-changes, other-changes] + if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }} steps: - uses: actions/checkout@v4 @@ -82,7 +84,7 @@ jobs: name: Static check runs-on: ubuntu-latest needs: [commons, pytest-changes, other-changes] - if: ${{ needs.pytest-changes.outputs.changed || needs.other-changes.outputs.packages != '[]' }} + if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }} steps: - uses: actions/checkout@v4 @@ -101,7 +103,7 @@ jobs: name: Test allure-pytest runs-on: ubuntu-latest needs: [commons, pytest-changes] - if: ${{ needs.pytest-changes.outputs.changed }} + if: ${{ needs.pytest-changes.outputs.changed == 'true' }} strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 919cedb5..8a850832 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,5 @@ name: release allure python +run-name: Release ${{ github.ref_name }} by ${{ github.actor }} on: release: