2021-03-17 06:49:57 -05:00
|
|
|
name: PR automation
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
2022-02-10 07:01:18 -06:00
|
|
|
concurrency:
|
2022-03-01 04:09:03 -06:00
|
|
|
group: pr-commands-${{ github.event.number }}
|
2021-03-17 06:49:57 -05:00
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Actions
|
2022-04-08 03:26:30 -05:00
|
|
|
uses: actions/checkout@v3
|
2021-03-17 06:49:57 -05:00
|
|
|
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
|