mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
96956d8252
This should enable adding PRs to organization project boards similar to with issues. Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
28 lines
717 B
YAML
28 lines
717 B
YAML
name: PR automation
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
- opened
|
|
- synchronize
|
|
concurrency:
|
|
group: pr-commands-${{ github.event.number }}
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Actions
|
|
uses: actions/checkout@v3
|
|
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
|