-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Update workflows (chatops slash-command v2) (#1440)
- Loading branch information
1 parent
288ee7b
commit cf8d230
Showing
3 changed files
with
42 additions
and
22 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 |
---|---|---|
@@ -1,19 +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 | ||
steps: | ||
- name: Checkout ChatOps repo | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: BSData/chatops | ||
path: chatops | ||
- name: /command dispatch | ||
uses: peter-evans/slash-command-dispatch@v1 | ||
with: | ||
token: ${{ secrets.SLASH_COMMAND_DISPATCH_TOKEN }} | ||
config-from-file: chatops/commands.json | ||
# 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@v2 | ||
with: | ||
repository: BSData/chatops | ||
path: chatops | ||
- name: /command dispatch | ||
uses: peter-evans/slash-command-dispatch@v2 | ||
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@v2 | ||
|
||
- 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