Skip to content
Closed
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
9 changes: 9 additions & 0 deletions .github/workflows/job_detect_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ on:
configs:
description: "Whether config files have changed"
value: ${{ jobs.build.outputs.configs }}
planetfall:
description: "Whether Planetfall has changed"
value: ${{ jobs.build.outputs.planetfall }}
permissions:
contents: read
jobs:
Expand All @@ -53,6 +56,7 @@ jobs:
dependencies: ${{ steps.changes.outputs.dependencies }}
packages: ${{ steps.changes.outputs.packages }}
configs: ${{ steps.changes.outputs.configs }}
planetfall: ${{ steps.changes.outputs.planetfall }}
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand Down Expand Up @@ -148,3 +152,8 @@ jobs:
- 'biome.json'
- 'turbo.json'
- 'vitest.workspace.json'

# Planetfall application
planetfall:
- 'apps/planetfall/**/!(*.md|*.txt)'
- 'apps/planetfall/!(*.md|*.txt)'
19 changes: 19 additions & 0 deletions .github/workflows/job_test_planetfall.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test Planetfall
on:
workflow_call:
permissions:
contents: read
jobs:
test:
name: Test Planetfall
runs-on: depot-ubuntu-24.04-4
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Setup Node
uses: ./.github/actions/setup-node
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Check
run: pnpm turbo run build --filter=@unkey/planetfall
env:
CI: 1
5 changes: 5 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ jobs:
if: ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.event_name != 'pull_request') && needs.detect_changes.result == 'success' && needs.detect_changes.outputs.logdrain == 'true'
needs: [detect_changes]
uses: ./.github/workflows/job_test_logdrain.yaml
test_planetfall:
name: Test Planetfall
if: ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.event_name != 'pull_request') && needs.detect_changes.result == 'success' && needs.detect_changes.outputs.planetfall == 'true'
needs: [detect_changes]
uses: ./.github/workflows/job_test_planetfall.yaml
1 change: 1 addition & 0 deletions apps/docs/test-change.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a test change in docs app to verify planetfall workflow doesn't run.
Loading