Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
6d795b8
Update GHC from 9.0.2 to 9.6.7 (#3305)
sodic Nov 6, 2025
1f1103f
Fix secret name (#3313)
cprecioso Nov 6, 2025
7a55e98
Add fetch-nightly-cli GitHub Action documentation (#3312)
cprecioso Nov 6, 2025
0b04a04
New PR template (#3255)
cprecioso Nov 6, 2025
7f67577
Fix wrong names in ci-starters-test.yaml (copy/paste mistake) (#3319)
Martinsos Nov 6, 2025
4a7d685
Remove LLVM workaround (#3317)
cprecioso Nov 6, 2025
39b885c
Update outdated Wasp DSL import statements (#3315)
FranjoMindek Nov 7, 2025
0300893
Fix `wasp start db` to use Postgres 18 explicitly (#3323)
infomiho Nov 7, 2025
b9471de
Trigger CI on all PRs, not just on main (#3325)
sodic Nov 7, 2025
3cd2dc1
Merge branch 'main' into release-with-main-07-11-25
infomiho Nov 7, 2025
31c619e
Merge pull request #3329 from wasp-lang/release-with-main-07-11-25
infomiho Nov 7, 2025
3675910
Bumps the version to 0.18.3 after hotfix
infomiho Nov 7, 2025
dcf9a4c
web: removed design-ai-thon navbars.
matijaSos Nov 7, 2025
89fcc9b
Merge pull request #3330 from wasp-lang/bumps-0-18-3
infomiho Nov 8, 2025
10b44c1
Added install_packages_to_data_dir.ps1 for Windows (#3318)
nodtem66 Nov 10, 2025
67cf559
fix: correct spawn command for Windows in prisma npx script (#3320)
nodtem66 Nov 10, 2025
d790b9b
Add error to action (#3335)
cprecioso Nov 10, 2025
b5737c5
Reenable serving the web app from a subdirectory (#3322)
sodic Nov 10, 2025
d12e638
Make PR automation simpler and more secure (#3334)
cprecioso Nov 10, 2025
c0efd56
Rename LocalStarterTemplate to BundledStarterTemplate (#3341)
cprecioso Nov 11, 2025
2f737e1
Remove unused GhRepo starter type (#3346)
cprecioso Nov 11, 2025
0897570
Migrate `ts-inspect` package from Jest to Vitest (#3351)
cprecioso Nov 12, 2025
3e6c7a9
Migrate `prisma` package from Jest to Vitest (#3350)
cprecioso Nov 12, 2025
2428040
Add helpful message for users navigating to server root route in deve…
Copilot Nov 12, 2025
f8723f2
Add changelog entry for PR #3213 (#3352)
Copilot Nov 12, 2025
fd1c030
Format
cprecioso Nov 12, 2025
e256798
Merge pull request #3333 from wasp-lang/release
cprecioso Nov 12, 2025
02d6f2b
[Issue/3148] ./run.ps1 for building waspc on Windows (#3324)
nodtem66 Nov 12, 2025
5c831b1
Fix naming in CI workflows. (#3347)
sodic Nov 13, 2025
94d475b
Fixes blog horizontal scroll (#3355)
infomiho Nov 13, 2025
8de3929
Merge pull request #3360 from wasp-lang/release
infomiho Nov 13, 2025
1acfa97
Update Haskell libraries and clean up waspc.cabal (#3353)
sodic Nov 13, 2025
8ecc5bf
Bump version to 0.19 (#3356)
cprecioso Nov 13, 2025
9474dd2
Add GH_REPO environment variable to workflow (#3366)
cprecioso Nov 13, 2025
d40ca18
Add --db-volume-mount-path option for dev db (#3362)
infomiho Nov 13, 2025
6994911
Add Apple Silicon testing to CI workflow (#3365)
cprecioso Nov 14, 2025
24397ee
Update package.json template breaking changes in Wasp AI (#3370)
cprecioso Nov 14, 2025
f2a1c47
Polish changelog for 0.19 (#3371)
cprecioso Nov 14, 2025
fac2fe5
Mention examples and tutorial in the PR checklist (#3368)
sodic Nov 14, 2025
7fbfd20
blog: design-ai-thon winners announcement
matijaSos Nov 11, 2025
b542592
Parse latest Fly CLI regions format (#3372)
infomiho Nov 17, 2025
f6be45a
Merge pull request #3375 from wasp-lang/release
cprecioso Nov 17, 2025
8d85853
Automatically generate tutorial app from Markdown (#2732)
infomiho Nov 17, 2025
b7a442c
Update Tailwind CSS to latest v3 in docs, migration guides, AI genera…
Copilot Nov 17, 2025
2cf7914
Bump all `tacte` deps (#3383)
infomiho Nov 17, 2025
1869b65
Merge pull request #3369 from wasp-lang/copilot/update-wasp-app-runne…
Copilot Nov 18, 2025
c2aaebc
Remove automation for labelling PRs as external (#3379)
cprecioso Nov 18, 2025
ae72bbd
Bump and publish wasp-app-runner
cprecioso Nov 18, 2025
7927c5e
Fix CORS when client is deployed to subdir (#3339)
sodic Nov 19, 2025
07b1e93
Update lockfiles
cprecioso Nov 19, 2025
c4030f3
Version docs to 0.19
cprecioso Nov 19, 2025
1da3afa
Format sidebar
cprecioso Nov 19, 2025
51949df
Remove leftover footnote for git fetch
sodic Nov 19, 2025
43e9c08
Merge pull request #3391 from wasp-lang/release
cprecioso Nov 19, 2025
d5b4a70
Update PhraseTutor links to point to the correct domain (#3393)
infomiho Nov 19, 2025
17d70bb
Mage pacakge-lock.json update (#3400)
infomiho Nov 20, 2025
24a5ab4
Merge pull request #3401 from wasp-lang/release
infomiho Nov 20, 2025
f9f2080
Update GitHub social login docs to use new GitHub apps (#3399)
FranjoMindek Nov 21, 2025
ba797a2
Update GitHub social login docs to use new GitHub apps (#3399)
FranjoMindek Nov 21, 2025
c3b687e
Update GitHub social login docs to use new GitHub apps (#3399) (#3405)
github-actions[bot] Nov 21, 2025
0c2a509
Adding Wasp Deploy CI/CD instructions (#3406)
infomiho Nov 24, 2025
a963125
Merge pull request #3411 from wasp-lang/release
infomiho Nov 24, 2025
e23a659
Update checklist in Waspc and point to notion (#3376)
sodic Nov 24, 2025
39d1e31
Fix error swallowing in db reset and db seed (#3414)
sodic Nov 24, 2025
a44e1a6
Refactor ProjectDescription (#3342)
cprecioso Nov 25, 2025
cb2d913
Update docs about env variable development defaults. (#3449)
infomiho Nov 26, 2025
f673d8d
Extract file path argument parser (#3344)
cprecioso Nov 27, 2025
8af6b01
Account for changed Railway CLI domain error text (#3454)
infomiho Nov 27, 2025
593280e
Merge pull request #3457 from wasp-lang/release
infomiho Nov 27, 2025
3f2615d
Fixes ChnageLog due to weird release -> master merge
infomiho Nov 27, 2025
c4a52dc
Bump version to 0.19.2
infomiho Nov 27, 2025
f2f6d19
Split StarterTemplates to AvailableTemplates (#3345)
cprecioso Nov 27, 2025
efdd2af
Refactor StarterTemplates data structure (#3340)
cprecioso Nov 27, 2025
f2759cc
Remove specialized cd* functions in the `deploy` package (#3456)
ksuraev Nov 28, 2025
0c86351
Rework Generator's validation system (#3262)
cprecioso Nov 28, 2025
be480c3
Add forgotten entry to Changelog about #3262
cprecioso Nov 28, 2025
2a02d48
Re-add labelling external PRs (#3460)
cprecioso Nov 28, 2025
25588d1
Remove unused import from Common.hs (#3467)
cprecioso Dec 2, 2025
9f3b514
Add `./run get-version` (#3470)
cprecioso Dec 3, 2025
1483a94
Generate external template Git tag dynamically from Wasp version (#3443)
Copilot Dec 3, 2025
b2f20f0
Smoke test `wasp ai:new` in CI (#3415)
sodic Dec 3, 2025
8d49cbb
Update GH actions versions
sodic Dec 3, 2025
9f46db9
Do not fail on `--help` argument (#3440)
cprecioso Dec 4, 2025
43457af
Fix email verification hook being called multiple times (#3458)
infomiho Dec 4, 2025
24b4b44
Remove redundant import
sodic Dec 4, 2025
4892df8
Add the `--force` flag to enable non-interactive db reset (#3480)
FranjoMindek Dec 9, 2025
f43c93a
Remove unused imports from Db/Reset.hs (#3485)
Copilot Dec 10, 2025
57c6ed3
Refactor dependency version sources of truth (#3474)
sodic Dec 11, 2025
eb6bd89
Finish migrating kitchen sink to ESM (#3496)
sodic Dec 15, 2025
a124438
Fix casing in the run script
sodic Dec 15, 2025
3969fc3
Refactor npm dependencies conflict function naming (#3477)
infomiho Dec 15, 2025
1fa7ddb
Update React to version 19 (#3489)
sodic Dec 15, 2025
c893bc8
Update package-lock.json for ask-the-documents again
sodic Dec 16, 2025
b0ae0a4
Add error message when user doesn't specify env vars in `wasp build s…
sodic Dec 16, 2025
c0b75d7
Update binary packager (#3483)
cprecioso Dec 16, 2025
be91d9c
CI: Extract and don't hardcode artifact naming (#3463)
cprecioso Dec 16, 2025
aad4452
CI: Generate npm packages (#3464)
cprecioso Dec 17, 2025
47715c0
CI: Test npm packages (#3469)
cprecioso Dec 17, 2025
d252f29
CI: Publish to pkg.pr.new (#3492)
cprecioso Dec 17, 2025
8ead3ea
Add readme to npm packages
cprecioso Dec 17, 2025
19ef880
Add readme to npm packages (2)
cprecioso Dec 17, 2025
8a64bbc
Update ask the documents dev env vars
infomiho Dec 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
/examples/** linguist-documentation

**/package-lock.json linguist-generated=true

*.snap linguist-generated
66 changes: 66 additions & 0 deletions .github/actions/compute-artifact-names/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Compute artifact names
description: Central place for computing the artifact names in the CI builds.

inputs:
build-name:
description: >
The build name (e.g., linux-x86_64, macos-aarch64, etc.). The special
value "all" can be used to receive a glob that matches all of the build
names.
required: true

runs:
using: composite

steps:
- name: Check valid build name
if: >
! contains(
fromJson('[
"all",
"linux-x86_64",
"linux-x86_64-static",
"macos-x86_64",
"macos-aarch64",
"macos-universal"
]'),
inputs.build-name
)
shell: sh
run: |
echo '::error::Invalid build name provided: ${{ inputs.build-name }}.'
exit 1

- name: Set artifact names
id: set-artifact-names
shell: sh
env:
BUILD_NAME: ${{ inputs.build-name == 'all' && '*' || inputs.build-name }}
run: |
echo "artifact-name=wasp-cli-${BUILD_NAME}" >> $GITHUB_OUTPUT
echo "tarball-name=wasp-${BUILD_NAME}.tar.gz" >> $GITHUB_OUTPUT

- name: Set npm target
id: set-npm-target
if: inputs.build-name != 'all' && inputs.build-name != 'macos-universal'
shell: sh
run: |
case '${{ inputs.build-name }}' in
linux-x86_64) npm_target='{"os":"linux","cpu":"x64","libc":"glibc"}' ;;
linux-x86_64-static) npm_target='{"os":"linux","cpu":"x64","libc":"musl"}' ;;
macos-x86_64) npm_target='{"os":"darwin","cpu":"x64"}' ;;
macos-aarch64) npm_target='{"os":"darwin","cpu":"arm64"}' ;;
esac

echo "npm-target=$npm_target" >>"$GITHUB_OUTPUT"

outputs:
artifact-name:
value: ${{ steps.set-artifact-names.outputs.artifact-name }}
description: "The name of the artifact attached to the CI build."
tarball-name:
value: ${{ steps.set-artifact-names.outputs.tarball-name }}
description: "The name of the tarball inside the artifact."
npm-target:
value: ${{ steps.set-npm-target.outputs.npm-target }}
description: "A JSON-encoded object of {os, cpu, libc?} for this build."
53 changes: 53 additions & 0 deletions .github/actions/fetch-nightly-cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# `fetch-nightly-cli` action

A GitHub Action that fetches the latest nightly CLI build from Wasp's CI runs. This action enables testing against the latest version of Wasp from `main` or from a specific branch/PR.

> [!TIP]
> This action is intended for internal usage only. If you have a Wasp app and you're just looking to install Wasp in your CI, you can use this step instead:
>
> ```yaml
> - run: curl -sSL https://get.wasp.sh/installer.sh | sh -- -v [version]
> ```

## Background

This action provides an internal "nightly" system for Wasp, allowing other repositories and workflows to download and install the binary from the latest successful CI run. The action:

- Fetches the most recent successful build from the specified branch (defaults to `main`).
- Downloads the appropriate binary for the current OS and architecture.
- Can be used to test against PRs by specifying a different branch.

## Usage

### Basic example

Fetch the latest nightly build from `main` and install it:

```yaml
- uses: wasp-lang/wasp/.github/actions/fetch-nightly-cli@main
- run: curl -sSL https://get.wasp.sh/installer.sh | sh -- -f wasp-*.tar.gz
```

The wildcard `wasp-*.tar.gz` is used because the artifact has a different name depending on the OS and architecture. The `-f` flag tells the installer to use the locally downloaded file.

### Fetch from a specific branch

To test against a specific branch or PR:

```yaml
- uses: wasp-lang/wasp/.github/actions/fetch-nightly-cli@main
with:
branch: my-feature-branch
- run: curl -sSL https://get.wasp.sh/installer.sh | sh -- -f wasp-*.tar.gz
```

### Custom output directory

Download the CLI package to a specific directory:

```yaml
- uses: wasp-lang/wasp/.github/actions/fetch-nightly-cli@main
with:
output-dir: ./bin
- run: curl -sSL https://get.wasp.sh/installer.sh | sh -- -f bin/wasp-*.tar.gz
```
24 changes: 20 additions & 4 deletions .github/actions/fetch-nightly-cli/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ runs:
using: composite

steps:
- name: Compute artifact names
uses: ./.github/actions/compute-artifact-names
id: compute-artifact-names
with:
build-name: ${{ runner.os == 'Linux' && 'linux' || 'macos' }}-${{ runner.arch == 'ARM64' && 'aarch64' || 'x86_64' }}

- name: Get latest successful run ID
id: get_run_id
shell: bash
Expand All @@ -32,6 +38,14 @@ runs:
--json databaseId \
--jq '.[0].databaseId'
)

if [ -z "$run_id" ]; then
# Using the ::error:: prefix lets GitHub handle it as a special string, and shows up as a red error in the logs.
# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-error-message
echo "::error::No successful workflow runs found for branch '$BRANCH'."
exit 1
fi

echo "run_id=$run_id" >> $GITHUB_OUTPUT
env:
GH_REPO: wasp-lang/wasp
Expand All @@ -53,7 +67,9 @@ runs:
GH_TOKEN: ${{ inputs.token }}
RUN_ID: ${{ steps.get_run_id.outputs.run_id }}
OUTPUT_DIR: ${{ inputs.output-dir }}
ARTIFACT_NAME:
# This is the name of the artifact (not the file), which must be in sync with:
# /.github/workflows/ci-waspc-build.yaml
"wasp-cli-${{ runner.os == 'Linux' && 'linux' || 'macos' }}-${{ runner.arch == 'ARM64' && 'aarch64' || 'x86_64' }}"
ARTIFACT_NAME: ${{ steps.compute-artifact-names.outputs.artifact-name }}

outputs:
artifact-path:
description: "The path to the downloaded artifact directory."
value: ${{ inputs.output-dir }}/${{ steps.compute-artifact-names.outputs.artifact-name }}
4 changes: 2 additions & 2 deletions .github/actions/setup-haskell/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ inputs:
description: |
The version of GHC to install.
required: false
default: "9.0.2"
default: "9.6.7"

cabal-version:
description: |
The version of Cabal to install.
required: false
default: "3.10.2.0"
default: "3.12.1.0"

cabal-project-dir:
description: |
Expand Down
89 changes: 43 additions & 46 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,59 @@
### Description
<!--
Thanks for contributing to Wasp!
Make sure to follow this PR template, so that we can speed up the review process.
It will also help you not forget important steps when making a change.
If you don't know how to fill any of the sections below, it's okay to leave
them blank and ask for help.
-->

> Describe your PR! If this PR closes an issue, use “Fixes #(issue_number)" syntax so GitHub will auto-close it when merged.
## Description

### Select what type of change this PR introduces:
Replace this message here, and write a high-level overview with any additional
context (motivation, trade-offs, approaches considered, concerns, ...).

1. [ ] **Just code/docs improvement** (no functional change).
2. [ ] **Bug fix** (non-breaking change which fixes an issue).
3. [ ] **New feature** (non-breaking change which adds functionality).
4. [ ] **Breaking change** (fix or feature that would cause existing functionality to not work as expected).
## Type of change

### Update Waspc ChangeLog and version if needed
<!-- Select just one with [x] -->

If you did a **bug fix, new feature, or breaking change**, that affects `waspc`, make sure you satisfy the following:
- [ ] **🔧 Just code/docs improvement** <!-- no functional change -->
- [ ] **🐞 Bug fix** <!-- non-breaking change which fixes an issue -->
- [ ] **🚀 New/improved feature** <!-- non-breaking change which adds functionality -->
- [ ] **💥 Breaking change** <!-- fix or feature that would cause existing functionality to not work as expected -->

1. [ ] I updated [`ChangeLog.md`](https://github.com/wasp-lang/wasp/blob/main/waspc/ChangeLog.md) with description of the change this PR introduces.
2. [ ] I bumped `waspc` version in [`waspc.cabal`](https://github.com/wasp-lang/wasp/blob/main/waspc/waspc.cabal) to reflect changes I introduced, with regards to the version of the latest wasp release, if the bump was needed.
## Checklist

### Add a regression test if needed
<!--
Check all the applicable boxes with [x], and leave the rest empty.
If you're unsure about any of them, don't hesitate to ask for help.
-->

If you did a **bug fix**, make sure you satisfy the following:
- [ ] I tested my change in a Wasp app to verify that it works as intended.

1. [ ] I added a regression test that reproduces the bug and verifies the fix.
- 🧪 Tests and apps:

If you're unable to add a regression test, please explain why.
This likely indicates that our current testing setup needs improvement.
- [ ] I added **unit tests** for my change. <!-- If not, explain why. -->
- [ ] _(if you fixed a bug)_ I added a **regression test** for the bug I fixed. <!-- If not, explain why. -->
- [ ] _(if you added/updated a feature)_ I added/updated **e2e tests** in `examples/kitchen-sink/e2e-tests`.
- [ ] _(if you added/updated a feature)_ I updated the **starter templates** in `waspc/data/Cli/templates`, as needed.
- [ ] _(if you added/updated a feature)_ I updated the **example apps** in `examples/`, as needed.
- [ ] _(if you updated `examples/tutorials`)_ I updated the tutorial in the docs (and vice versa).

### Test Coverage
- 📜 Documentation:

Please ensure your changes are adequately tested:
- [ ] _(if you added/updated a feature)_ I **added/updated the documentation** in `web/docs/`.

1. [ ] **My changes are covered by tests** (unit, integration, or e2e tests as appropriate).
- 🆕 Changelog: _(if change is more than just code/docs improvement)_
- [ ] I updated `waspc/ChangeLog.md` with a **user-friendly** description of the change.
- [ ] _(if you did a breaking change)_ I added a step to the current **migration guide** in `web/docs/migration-guides/`.
- [ ] I **bumped the `version`** in `waspc/waspc.cabal` to reflect the changes I introduced.

If you're unable to add tests or if coverage is partial, please explain why below:
<!--
Bumping the version on `waspc/waspc.cabal`:

<!-- Provide explanation here if tests are missing or incomplete -->
We still haven't reached 1.0, so the version bumping follows these rules:
- Bug fix: 0.X.+1 (e.g. 0.16.3 bumps to 0.16.4)
- New feature: 0.X.+1 (e.g. 0.16.3 bumps to 0.16.4)
- Breaking change: 0.+1.0 (e.g. 0.16.3 bumps to 0.17.0)

### Update example apps if needed

If you did code changes and **added a new feature**, make sure you satisfy the following:

1. [ ] I updated [`waspc/examples/todoApp`](https://github.com/wasp-lang/wasp/tree/main/waspc/examples/todoApp) and its e2e tests as needed and manually checked it works correctly.

If you did code changes and **updated an existing feature**, make sure you satisfy the following:

1. [ ] I updated [`waspc/examples/todoApp`](https://github.com/wasp-lang/wasp/tree/main/waspc/examples/todoApp) and its e2e tests as needed and manually checked it works correctly.

### Update starter apps if needed

If you did code changes and **updated an existing feature**, make sure you satisfy the following:

1. [ ] I updated [starter skeleton](https://github.com/wasp-lang/wasp/tree/main/waspc/data/Cli/templates/skeleton) as needed and manually checked it works correctly.
2. [ ] I updated [`basic` starter](https://github.com/wasp-lang/wasp/tree/main/waspc/data/Cli/templates/basic) as needed and manually checked it works correctly.
3. [ ] I updated [`todo-ts` starter](https://github.com/wasp-lang/starters/tree/dev/todo-ts) as needed and manually checked it works correctly.
4. [ ] I updated [`embeddings` starter](https://github.com/wasp-lang/starters/tree/dev/embeddings) as needed and manually checked it works correctly.
5. [ ] I updated [`saas` starter](https://github.com/wasp-lang/open-saas/tree/main/template) as needed and manually checked it works correctly.

### Update e2e tests if needed

If you did code changes and changed Wasp's code generation logic, make sure you satisfy the following:

1. [] I updated [e2e tests](https://github.com/wasp-lang/wasp/tree/main/waspc#end-to-end-e2e-tests) as needed and manually checked they are correct.
If the version has already been bumped on `main` since the last release, skip this.
-->
2 changes: 1 addition & 1 deletion .github/workflows/automation-cache-evict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Evict caches
shell: bash
Expand Down
49 changes: 19 additions & 30 deletions .github/workflows/automation-pr-label-external.yaml
Original file line number Diff line number Diff line change
@@ -1,50 +1,39 @@
name: "Automation - Label external PRs"

############################################################
# CAUTION: This workflow should not check out the PR code! #
############################################################
# The `pull_request_target` event is only intended for simple automations on the
# PRs themselves (e.g., labeling, commenting). If we checked out the PR code here,
# we would be running untrusted code and giving it access to our repository
# secrets, which is a major security risk.
#
# More info at:
# https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

on:
pull_request:
pull_request_target:
types:
- opened
- reopened

env:
internal_team_name: "eng"
external_label_name: "external"
- ready_for_review

jobs:
label-external-pr:
label-external-prs:
name: Label external PRs

runs-on: ubuntu-latest

permissions:
pull-requests: write

steps:
# We're dealing with untrusted input, so we pass inputs as environment
# variables instead of interpolation, following GitHub's advice:
# https://docs.github.com/en/actions/reference/security/secure-use#use-an-intermediate-environment-variable

- name: Check if PR is internal
id: check_pr
run: |
pr_is_internal=$(
gh api "/orgs/$GITHUB_ORG/teams/$TEAM_NAME/members" |
jq --arg author "$AUTHOR_LOGIN" 'map(.login) | contains([$author])'
)

# Output is a JSON boolean
echo "pr_is_internal=$pr_is_internal" >>"$GITHUB_OUTPUT"

env:
AUTHOR_LOGIN: ${{ github.event.sender.login }}
GITHUB_ORG: ${{ github.repository_owner }}
TEAM_NAME: ${{ env.internal_team_name }}
GH_TOKEN: ${{ secrets.WASP_LANG_READ_MEMBERS }}
# We check if the PR comes from a different repo than ours:
if: github.event.pull_request.head.repo.full_name != github.repository

steps:
- name: Label external PR
if: steps.check_pr.outputs.pr_is_internal == 'false'
run: gh pr edit "$PR_NUMBER" --add-label "$LABEL_NAME"
env:
LABEL_NAME: "external"
PR_NUMBER: ${{ github.event.pull_request.number }}
LABEL_NAME: ${{ env.external_label_name }}
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
name: fly-deploy-test

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: ./.github/actions/setup-haskell

- uses: actions/setup-node@v5
- uses: actions/setup-node@v6
with:
cache: "npm"
node-version: "22"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-examples-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- kitchen-sink

steps:
- uses: "actions/checkout@v5"
- uses: "actions/checkout@v6"

- uses: ./.github/actions/setup-haskell
with:
cabal-project-dir: waspc

- uses: actions/setup-node@v5
- uses: actions/setup-node@v6
with:
node-version: lts/*

Expand Down
Loading