Skip to content

Commit f85daaa

Browse files
try fix gh actions failures
the needs key in the notify_failure.yml was invalid
1 parent b452769 commit f85daaa

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.github/workflows/automaticRelease.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,4 @@ jobs:
5757
uses: ./.github/workflows/notify_failure.yml
5858
needs: [ check_for_new_helm_version ]
5959
if: failure()
60-
with:
61-
needs_job: check_for_new_helm_version
60+
secrets: inherit

.github/workflows/notify_failure.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,16 @@ name: Notify Failure
22

33
on:
44
workflow_call:
5-
inputs:
6-
needs_job:
7-
required: true
8-
type: string
95
secrets:
106
GITHUB_TOKEN:
117
required: true
128

139
jobs:
1410
notify_failure:
1511
runs-on: ubuntu-latest
16-
needs:
17-
- ${{ inputs.needs_job }}
1812
permissions:
1913
issues: write
2014
contents: read
21-
if: failure()
2215

2316
env:
2417
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publishImage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@ jobs:
6262
uses: ./.github/workflows/notify_failure.yml
6363
needs: [ push_to_registry ]
6464
if: failure()
65-
with:
66-
needs_job: push_to_registry
65+
secrets: inherit

0 commit comments

Comments
 (0)