Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows-src/partials/build-astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
with:
path: "packages/documentation-site/.cache"
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- run: yarn ci:build:doc-core
- run: yarn build:doc-core
name: Build astro docs
17 changes: 14 additions & 3 deletions .github/workflows-src/pr-preview.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
name: pr-preview
on: pull_request_target
on:
pull_request_target:
issue_comment:
types: [created]
jobs:
check-permissions:
uses: patternfly/.github/.github/workflows/check-team-membership.yml@main
secrets: inherit

build-upload:
runs-on: ubuntu-latest
needs: check-permissions
if: needs.check-permissions.outputs.allowed == 'true'
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
steps:
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
Expand All @@ -20,11 +29,13 @@ jobs:
name: Upload docs
build-upload-astro:
runs-on: ubuntu-latest
needs: check-permissions
if: needs.check-permissions.outputs.allowed == 'true'
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
steps:
- uses: actions/checkout@v4
- run: |
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/add-new-issues-to-project.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/label-pf-team-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Label PF Team issues
on:
issues:
types:
- opened
jobs:
label:
uses: patternfly/.github/.github/workflows/add-pf-team-label-workflow.yml@main
secrets: inherit
17 changes: 14 additions & 3 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
### WARNING -- this file was generated by generate-workflows.js
name: pr-preview
on: pull_request_target
on:
pull_request_target:
issue_comment:
types: [created]
jobs:
check-permissions:
uses: patternfly/.github/.github/workflows/check-team-membership.yml@main
secrets: inherit

build-upload:
runs-on: ubuntu-latest
needs: check-permissions
if: needs.check-permissions.outputs.allowed == 'true'
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
steps:
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
Expand All @@ -33,11 +42,13 @@ jobs:
name: Upload docs
build-upload-astro:
runs-on: ubuntu-latest
needs: check-permissions
if: needs.check-permissions.outputs.allowed == 'true'
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }}
steps:
- uses: actions/checkout@v4
- run: |
Expand Down
Loading