Skip to content

Commit

Permalink
add run-name to release workflow (via #800)
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie authored Mar 12, 2024
1 parent 04fa421 commit 2a71e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: release allure python
run-name: Release ${{ github.ref_name }} by ${{ github.actor }}

on:
release:
Expand Down

0 comments on commit 2a71e7f

Please sign in to comment.