Skip to content

Commit 2a71e7f

Browse files
authored
add run-name to release workflow (via #800)
1 parent 04fa421 commit 2a71e7f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
commons:
6363
name: Build commons
6464
runs-on: ubuntu-latest
65+
needs: [pytest-changes, other-changes]
66+
if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }}
6567
steps:
6668
- uses: actions/checkout@v4
6769

@@ -82,7 +84,7 @@ jobs:
8284
name: Static check
8385
runs-on: ubuntu-latest
8486
needs: [commons, pytest-changes, other-changes]
85-
if: ${{ needs.pytest-changes.outputs.changed || needs.other-changes.outputs.packages != '[]' }}
87+
if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }}
8688
steps:
8789
- uses: actions/checkout@v4
8890

@@ -101,7 +103,7 @@ jobs:
101103
name: Test allure-pytest
102104
runs-on: ubuntu-latest
103105
needs: [commons, pytest-changes]
104-
if: ${{ needs.pytest-changes.outputs.changed }}
106+
if: ${{ needs.pytest-changes.outputs.changed == 'true' }}
105107
strategy:
106108
matrix:
107109
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: release allure python
2+
run-name: Release ${{ github.ref_name }} by ${{ github.actor }}
23

34
on:
45
release:

0 commit comments

Comments
 (0)