From d7dfc82239df9297b8d9e29d8cdc9fcd2f1ac33c Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 18 Aug 2026 18:52:09 +0100 Subject: [PATCH 1/4] test: run the action against staging on pull requests --- .github/workflows/smoke.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/smoke.yml diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml new file mode 100644 index 0000000..63010e5 --- /dev/null +++ b/.github/workflows/smoke.yml @@ -0,0 +1,18 @@ +name: Smoke test + +on: pull_request + +jobs: + flagsmith: + runs-on: ubuntu-latest + environment: test + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: ./ + with: + api-url: https://api-staging.flagsmith.com + - run: flagsmith --version + - run: flagsmith auth status From 274c45898039ddad7ac6a70bfe07ec4e1bf8f82a Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 18 Aug 2026 19:04:01 +0100 Subject: [PATCH 2/4] test: verify with flag list instead of auth status users/me 500s for service-account identities (FLAGSMITH-API-58Y), which auth status always calls for a non-master credential. --- .github/workflows/smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 63010e5..ee28758 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -15,4 +15,4 @@ jobs: with: api-url: https://api-staging.flagsmith.com - run: flagsmith --version - - run: flagsmith auth status + - run: flagsmith flag list From 122e3ee00ef8c7d8104bd749ddeb41a8274c3664 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 18 Aug 2026 19:06:10 +0100 Subject: [PATCH 3/4] test: point flag list at the Edge API E2E project --- .github/workflows/smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index ee28758..be6d24e 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -15,4 +15,4 @@ jobs: with: api-url: https://api-staging.flagsmith.com - run: flagsmith --version - - run: flagsmith flag list + - run: flagsmith flag list --project "Edge API E2E" From e6fcb79e8d83082528bb1525db42be24b5d94478 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 18 Aug 2026 19:07:34 +0100 Subject: [PATCH 4/4] test: name the E2E environment --- .github/workflows/smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index be6d24e..1c03c90 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -15,4 +15,4 @@ jobs: with: api-url: https://api-staging.flagsmith.com - run: flagsmith --version - - run: flagsmith flag list --project "Edge API E2E" + - run: flagsmith flag list --project "Edge API E2E" -e E2E