Merge pull request #12416 from backstage/rugvip/sync

workflows: bump pr-sync to the latest and greatest
This commit is contained in:
Patrik Oldsberg
2022-07-04 16:50:51 +02:00
committed by GitHub
+20 -3
View File
@@ -1,14 +1,31 @@
name: PR
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- closed
issue_comment:
types:
- created
pull_request_review_comment:
types:
- created
jobs:
sync:
runs-on: ubuntu-latest
if: github.repository == 'backstage/backstage'
# Avoid running on issue comments
if: github.repository == 'backstage/backstage' && ( github.event.pull_request || github.event.issue.pull_request )
steps:
- name: PR sync
uses: backstage/actions/pr-sync@v0.2.2
uses: backstage/actions/pr-sync@v0.4.0
with:
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
project-id: PVT_kwDOBFKqdc02LQ
excluded-users: ${{ secrets.OOO_USERS }}
owning-teams: '@backstage/techdocs'