Skip to content
Merged
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
24 changes: 21 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Check

# One workflow per PR push: the source checks, then Review, the required check
# that passes once they and the Netlify preview succeeded. It has no
# workflow_dispatch: a skipped Review on a PR head would count as passed.
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
Expand All @@ -12,14 +14,30 @@ permissions:
contents: read

concurrency:
group: check-${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.draft && 'draft' || 'ready' }}
group: check-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
check:
name: Check
uses: fulldotdev/.github/.github/workflows/check.yml@c343f825f2ae7e4cecc484a9a41dee47af2105b9
uses: fulldotdev/.github/.github/workflows/check.yml@3f6e99b0ee477017b0902c2697cfef934d440747
with:
runner: blacksmith-4vcpu-ubuntu-2404
command: vp run check
test-command: vp run test:unit

review:
name: Review
if: ${{ always() && github.event_name == 'pull_request' }}
needs: [check]
runs-on: blacksmith-2vcpu-ubuntu-2404-arm
timeout-minutes: 35
permissions:
statuses: read
steps:
- uses: fulldotdev/.github/.github/actions/review@3f6e99b0ee477017b0902c2697cfef934d440747
with:
needs: ${{ toJSON(needs) }}
netlify-checks: '["netlify/fulldev-ui/deploy-preview"]'
# Site previews can take longer than the default 15 minutes.
timeout-minutes: 30
29 changes: 0 additions & 29 deletions .github/workflows/ready.yml

This file was deleted.