Skip to content

Commit

Permalink
fix env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
netbe committed Nov 29, 2024
1 parent 563257d commit ed100ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_reusable_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branch:
type: string
required: true
notify_secret:
type: string
required: true

secrets:
ZENKINS_USERNAME:
required: true
Expand All @@ -30,6 +34,7 @@ jobs:
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ secrets.ZENKINS_USERNAME }}
SLACK_WEBHOOK_URL: ${{ secrets[inputs.notify_secret] }}

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ jobs:
with:
all: true
branch: ${{ matrix.branch }}
notify_secret: WIRE_IOS_NIGHTLY_WEBHOOK
secrets: inherit
env:
SLACK_WEBHOOK_URL: ${{ secrets.WIRE_IOS_NIGHTLY_WEBHOOK }}
5 changes: 2 additions & 3 deletions .github/workflows/test_pr_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,5 @@ jobs:
with:
folders: ${{ join(fromJson(needs.detect-changes.outputs.folders), ',') }}
branch: ${{ github.head_ref }}
secrets: inherit
env:
SLACK_WEBHOOK_URL: ${{ secrets.WIRE_IOS_CI_WEBHOOK }}
notify_secret: WIRE_IOS_CI_WEBHOOK
secrets: inherit

0 comments on commit ed100ec

Please sign in to comment.