Skip to content

Commit

Permalink
Inherit secrets on workflow call
Browse files Browse the repository at this point in the history
RISDEV-0000
  • Loading branch information
Nadav-B committed Jun 14, 2024
1 parent b07b7a5 commit e833169
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
workflow_call:
secrets:
SLACK_WEBHOOK_URL:
required: false

jobs:
scan-backend-changes:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/frontend-checks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
workflow_call:
secrets:
SLACK_WEBHOOK_URL:
required: false

jobs:
scan-frontend-changes:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:

backend-tests:
uses: ./.github/workflows/backend-tests.yml
secrets: inherit

backend-build-image-and-scan:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -147,6 +148,7 @@ jobs:

frontend-checks:
uses: ./.github/workflows/frontend-checks.yml
secrets: inherit

audit-licenses-backend:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e833169

Please sign in to comment.