Skip to content

Commit

Permalink
Provide secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed May 27, 2024
1 parent e1bfc24 commit f7ea639
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 f7ea639

Please sign in to comment.