-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from StackStorm-Exchange/gha
Do index updates via GitHub actions
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 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,20 @@ | ||
name: Update Index | ||
|
||
# Only allow one workflow run per branch at a time. | ||
# When one is already running, new runs will be pending. | ||
# https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/ | ||
concurrency: | ||
group: index-update-${{ github.ref }} | ||
# Do not use cancel-in-progress! Or we might create a scenario where all workflows get canceled before they complete. | ||
|
||
on: | ||
# every 5 minutes. Increase time if workflows are overlapping. | ||
schedule: | ||
- cron: '*/5 * * * *' | ||
# manual rebuilds by TSC members | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_index: | ||
name: 'Update Index' | ||
uses: StackStorm-Exchange/ci/.github/workflows/index-update.yaml@master |
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,16 @@ | ||
# Any packs in this file are excluded from the index. | ||
# | ||
# Each line is a pack name and should be part of the pack's repo name: | ||
# StackStorm-Exchange/stackstorm-<pack name here> | ||
# So, the "foo_bar" pack would be in this repo: | ||
# StackStorm-Exchange/stackstorm-foo_bar | ||
# | ||
# Comment lines begin with "#" | ||
|
||
# utility packs | ||
test | ||
test2 | ||
test-content-version | ||
|
||
# These packs are NOT excluded. CI uses them to test using the index. | ||
#python3_test |