-
Notifications
You must be signed in to change notification settings - Fork 26
47 lines (40 loc) · 1007 Bytes
/
pr-audit.yaml
File metadata and controls
47 lines (40 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: PR Audit
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
pull_request_review:
types:
- submitted
- edited
- dismissed
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
pr-audit:
name: Audit
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Setup PNPM with Dependencies
uses: ./.github/actions/setup-pnpm-with-dependencies/
- name: PR Audit
if: github.actor != 'renovate[bot]'
uses: Kong/public-shared-actions/pr-previews/audit@main
with:
renovate-pr-author: renovate[bot]