Skip to content

Commit

Permalink
Fix: Fix release activated workflow via labels
Browse files Browse the repository at this point in the history
The if clauses of the dependent jobs haven't been adjusted for the new
release process and its different labels. Therefore using a release
label didn't run the jobs. This change removes the if statements from
the dependent jobs completely because the first job will check them and
otherwise the dependent jobs wont run at all.
  • Loading branch information
bjoernricks committed Jul 25, 2023
1 parent 014f6de commit 83b1bd0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-pontos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:

build-dist:
name: Build JavaScript files
if: (github.event_name == 'workflow_dispatch') || (contains( github.event.pull_request.labels.*.name, 'make release') && github.event.pull_request.merged == true)
runs-on: "ubuntu-latest"
needs: release
steps:
Expand Down Expand Up @@ -94,7 +93,6 @@ jobs:
sign:
runs-on: "ubuntu-latest"
needs: [release, build-dist]
if: (github.event_name == 'workflow_dispatch') || (contains( github.event.pull_request.labels.*.name, 'make release') && github.event.pull_request.merged == true)
steps:
- name: Sign release files
uses: greenbone/actions/sign-release-files@v3
Expand Down

0 comments on commit 83b1bd0

Please sign in to comment.