Skip to content

Commit

Permalink
Merge pull request #102 from BSData-bot/update/template-workflows
Browse files Browse the repository at this point in the history
🤖 Sync workflows with TemplateDataRepo
  • Loading branch information
jmatchett authored Oct 27, 2020
2 parents bcb9e96 + fb234a8 commit 061f2df
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/chatops.yml
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@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
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
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 }}
7 changes: 4 additions & 3 deletions .github/workflows/publish-catpkg.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# 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 ]
jobs:
publish-catpkg:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 061f2df

Please sign in to comment.