Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Sync workflows with TemplateDataRepo #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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