Automation: Adds github automation commands, and base architecture to build more automation on (#28072)

* Automation: Adds github automation commands, and base architecture to build more automation on

* Updated commmand

* updated commands

* Updated token name
This commit is contained in:
Torkel Ödegaard
2020-10-07 09:33:05 +02:00
committed by GitHub
parent 9cd3ab0340
commit 810d171bf5
2 changed files with 45 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Run commands when issues are labeled or comments added
on:
issues:
types: [labeled]
issue_comment:
types: [created]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Commands
uses: ./actions/commands
with:
token: ${{secrets.GH_BOT_ACCESS_TOKEN}
config-path: commands