-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (29 loc) · 923 Bytes
/
pr.yml
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
name: PR
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- closed
issue_comment:
types:
- created
jobs:
sync:
runs-on: ubuntu-latest
# Avoid running on issue comments
if: github.repository == 'philips-software/philips-backstage-plugins' && ( github.event.pull_request || github.event.issue.pull_request )
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: PR sync
uses: backstage/actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
app-id: ${{ secrets.BACKSTAGE_BOT_APPLICATION_ID }}
private-key: ${{ secrets.BACKSTAGE_BOT_PRIVATE_KEY }}
installation-id: ${{ secrets.BACKSTAGE_BOT_INSTALLATION_ID }}
auto-assign: false