refactor: split smoke and integration test configs into separate CI jobs (#264)

* refactor: split smoke and integration test configs into separate CI jobs

* fix: move CLA labeling from triage to CLA workflow

* fix: install formatters in temp dir to avoid catalog: protocol error

* fix: handle 404 when removing labels that don't exist on the PR
This commit is contained in:
Matt Kane
2026-04-05 08:22:17 +01:00
committed by GitHub
parent c4977e1fd1
commit 5beb0ddc33
8 changed files with 97 additions and 71 deletions

View File

@@ -56,20 +56,13 @@ jobs:
ref: ${{ steps.pr.outputs.sha }}
persist-credentials: false
# --- Install formatters directly (no pnpm install, no postinstall scripts) ---
- name: Setup Node
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22
- name: Install formatters
run: npm install --no-save --ignore-scripts oxfmt prettier prettier-plugin-astro
- name: Run formatters
run: |
npx oxfmt --ignore-path .gitignore
npx prettier --write .
- name: Run formatter
run: npx oxfmt --ignore-path .gitignore
- name: Check for changes
id: diff
@@ -125,5 +118,5 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: ${{ steps.pr.outputs.number }},
body: `Could not push formatting changes to this fork. The contributor may have "Allow edits by maintainers" disabled.\n\nPlease run the formatter locally:\n\n\`\`\`\nnpx oxfmt --ignore-path .gitignore\nnpx prettier --write .\n\`\`\``,
body: `Could not push formatting changes to this fork. The contributor may have "Allow edits by maintainers" disabled.\n\nPlease run the formatter locally:\n\n\`\`\`\npnpm format\n\`\`\``,
});