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 1c90649 commit 9039ab2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .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 All @@ -25,4 +27,4 @@ jobs:
with:
bundler-cache: true
ruby-version: '3.3.1'
- uses: rubygems/release-gem@v1
# - uses: rubygems/release-gem@v1
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 9039ab2

Please sign in to comment.