2021-12-14 04:33:13 -06:00
|
|
|
name: PR Checks
|
|
|
|
on:
|
2021-12-15 02:57:04 -06:00
|
|
|
pull_request_target:
|
2021-12-14 04:33:13 -06:00
|
|
|
types:
|
|
|
|
- opened
|
2022-01-17 12:16:33 -06:00
|
|
|
- reopened
|
2021-12-14 04:33:13 -06:00
|
|
|
- synchronize
|
2022-05-05 04:38:46 -05:00
|
|
|
- ready_for_review
|
2022-01-12 06:09:25 -06:00
|
|
|
- labeled
|
|
|
|
- unlabeled
|
2022-05-05 04:38:46 -05:00
|
|
|
- edited
|
2021-12-14 04:33:13 -06:00
|
|
|
issues:
|
|
|
|
types:
|
|
|
|
- milestoned
|
|
|
|
- demilestoned
|
2022-02-10 07:01:18 -06:00
|
|
|
concurrency:
|
2022-03-01 04:09:03 -06:00
|
|
|
group: pr-checks-${{ github.event.number }}
|
2021-12-14 04:33:13 -06:00
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
2022-01-17 12:16:33 -06:00
|
|
|
if: github.event.pull_request.draft == false
|
2021-12-14 04:33:13 -06:00
|
|
|
steps:
|
|
|
|
- name: Checkout Actions
|
2022-04-08 03:26:30 -05:00
|
|
|
uses: actions/checkout@v3
|
2021-12-14 04:33:13 -06:00
|
|
|
with:
|
|
|
|
repository: "grafana/grafana-github-actions"
|
|
|
|
path: ./actions
|
|
|
|
ref: main
|
|
|
|
- name: Install Actions
|
|
|
|
run: npm install --production --prefix ./actions
|
|
|
|
- name: Run PR Checks
|
|
|
|
uses: ./actions/pr-checks
|
|
|
|
with:
|
|
|
|
token: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
configPath: pr-checks
|