Skip to content

Commit

Permalink
Provide secrets when publishing (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu authored May 27, 2024
2 parents e1bfc24 + f7ea639 commit 290120c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on: workflow_dispatch
jobs:
check:
uses: ./.github/workflows/check.yml

test:
uses: ./.github/workflows/test.yml
secrets: inherit

publish:
needs: [check, test]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Test
on:
push:
workflow_call:
secrets:
SLACK_BOT_TOKEN:
required: true
schedule:
- cron: '0 7 * * *' # every day at 10:00 UTC

Expand Down

0 comments on commit 290120c

Please sign in to comment.