-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate reusable workflow from repo's own test workflow. (#38)
This keeps the "combined" workflow from being too confusing (especially because we the npm job doesn't apply to this repo). This gives the added benefit of actually exercising the `workflow_call` event of the reusable workflow.
- Loading branch information
1 parent
1e7c5bd
commit 4100507
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Test | ||
on: | ||
pull_request: | ||
push: {branches: main} | ||
schedule: [{cron: '0 0 10 * *'}] # monthly https://crontab.guru/#0_0_10_*_* | ||
workflow_dispatch: | ||
permissions: {} | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
with: {npm: false} | ||
permissions: | ||
contents: read | ||
packages: read | ||
id-token: write | ||
security-events: write | ||
statuses: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters