From 2a71e7fb1d6f32ffbc34ee014e64e00cd686c248 Mon Sep 17 00:00:00 2001 From: Maxim <17935127+delatrie@users.noreply.github.com> Date: Tue, 12 Mar 2024 18:25:34 +0700 Subject: [PATCH] add run-name to release workflow (via #800) --- .github/workflows/build.yaml | 6 ++++-- .github/workflows/release.yaml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) 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: