Skip to content

Commit

Permalink
[github] add dispatch event secret
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyr committed Mar 9, 2022
1 parent 94cec05 commit 8a61a59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/notify-radium-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ name: Notify master update to Radium-Releases

on:
workflow_call:
secrets:
REPO_DISPATCH_TOKEN:
description: 'Token to dispatch event'
required: true
inputs:
ref-sha:
required: true
type: string

jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/push-master-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ jobs:
uses: ./.github/workflows/notify-radium-releases.yml
with:
ref-sha: "${{ needs.increase-version-number.outputs.new-sha }}"
secrets:
REPO_DISPATCH_TOKEN: ${{ secrets.REPO_DISPATCH_TOKEN }}

0 comments on commit 8a61a59

Please sign in to comment.