Skip to content

Commit

Permalink
Merge pull request #24 from StackStorm-Exchange/gha
Browse files Browse the repository at this point in the history
Do index updates via GitHub actions
  • Loading branch information
cognifloyd authored Dec 18, 2021
2 parents 7d5f605 + a91deae commit 1764650
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update-index.yaml
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
16 changes: 16 additions & 0 deletions v1/exclude_packs.txt
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

0 comments on commit 1764650

Please sign in to comment.