-
Notifications
You must be signed in to change notification settings - Fork 19
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 #272 from BSData-bot/update/template-workflows
🤖 Sync workflows with TemplateDataRepo
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 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 @@ | ||
# For details and description, see https://github.com/BSData/chatops | ||
name: ChatOps | ||
on: | ||
issue_comment: | ||
types: [created] | ||
jobs: | ||
dispatch: | ||
runs-on: ubuntu-latest | ||
if: startsWith(github.event.comment.body, '/') | ||
steps: | ||
- name: Checkout ChatOps repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: BSData/chatops | ||
path: chatops | ||
- name: /command dispatch | ||
uses: peter-evans/slash-command-dispatch@v3 | ||
with: | ||
token: ${{ secrets.SLASH_COMMAND_DISPATCH_TOKEN }} | ||
config-from-file: chatops/commands.json |
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 @@ | ||
# This action continuously checks all pushes and Pull requests | ||
# for validity, integrity and bugs in datafiles. | ||
# For details, visit https://github.com/BSData/check-datafiles | ||
name: CI | ||
on: [ push, pull_request ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: BSData/check-datafiles@v1 | ||
id: check | ||
|
||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: artifact | ||
path: ${{ steps.check.outputs.staging-path }} |
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# This workflow adds the necessary assets to every release | ||
# For more details, visit https://github.com/BSData/publish-catpkg | ||
name: Publish catpkg | ||
|
||
on: | ||
release: | ||
types: [created, edited] | ||
types: [ published, edited ] | ||
permissions: write-all | ||
jobs: | ||
publish-catpkg: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: BSData/publish-catpkg@v1 |