Automation: Label pull requests based on changed files (#32039)

* Automation: Label pull requests based on changed files

* Update commands

* Updates for build-packaging

* fix path to backend architecture docs
This commit is contained in:
Marcus Efraimsson
2021-03-17 12:49:57 +01:00
committed by GitHub
parent b95fd1d1ce
commit c8d8dcd067
2 changed files with 194 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
name: PR automation
on:
pull_request_target:
types:
- opened
- synchronize
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:
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
configPath: pr-commands