Skip to content

Commit 3548d4a

Browse files
committed
chore: update gh actions
1 parent dfb1afe commit 3548d4a

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Label PF Team issues
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
label:
8+
uses: patternfly/.github/.github/workflows/add-pf-team-label-workflow.yml@main
9+
secrets: inherit

.github/workflows/pr-preview.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
### WARNING -- this file was generated by generate-workflows
22
name: pr-preview
3-
on: pull_request_target
3+
on:
4+
pull_request_target:
5+
issue_comment:
6+
types: [created]
47
jobs:
8+
check-permissions:
9+
uses: patternfly/.github/.github/workflows/check-team-membership.yml@main
10+
secrets: inherit
11+
512
build-upload:
613
runs-on: ubuntu-latest
14+
needs: check-permissions
15+
if: needs.check-permissions.outputs.allowed == 'true'
716
env:
817
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
918
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
1019
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
11-
GH_PR_NUM: ${{ github.event.number }}
20+
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
1221
steps:
1322
- uses: actions/checkout@v4
1423
# Yes, we really want to checkout the PR

0 commit comments

Comments
 (0)