Skip to content

[NO-JIRA][ci] Use static-IP runner for Build job#4533

Open
Richard-Shen (RichardSyq) wants to merge 1 commit into
mainfrom
RichardSyq/analyze-ci-failure
Open

[NO-JIRA][ci] Use static-IP runner for Build job#4533
Richard-Shen (RichardSyq) wants to merge 1 commit into
mainfrom
RichardSyq/analyze-ci-failure

Conversation

@RichardSyq
Copy link
Copy Markdown
Contributor

Summary

  • Fix CI failure in Build job caused by nrwl/nx-set-shas being blocked by the org IP allowlist
  • Switch Build job runner from ubuntu-latest to ubuntu-24.04-2cores-tools-public (static IP, already in Skyscanner's allowlist)

Context

PR #4525 introduced nrwl/nx-set-shas which calls the GitHub Actions API to find the last successful workflow run. With the Skyscanner org IP allowlist enabled, standard ubuntu-latest runners get a 403:

Although you appear to have the correct authorization credentials, the Skyscanner organization has an IP allow list enabled, and your IP address is not permitted to access this resource.

The ubuntu-24.04-2cores-tools-public runner has a static IP registered in the org allowlist (same runner already used by zizmor.yml in this repo).

Test plan

  • CI Build job passes without IP allowlist errors
  • nx affected correctly derives base/head SHAs

🤖 Generated with Claude Code

The nrwl/nx-set-shas action calls the GitHub Actions API to derive
affected SHAs. With the org IP allowlist enabled, requests from
standard ubuntu-latest runners are rejected (403) because their IPs
are not in the allowlist.

Switch to ubuntu-24.04-2cores-tools-public which has a static IP
already registered in the Skyscanner org IP allowlist.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 22, 2026 04:29
@skyscanner-backpack-bot
Copy link
Copy Markdown

Visit https://backpack.github.io/storybook-prs/4533 to see this build running in a browser.

@skyscanner-backpack-bot
Copy link
Copy Markdown

Fails
🚫

The file logs/test.log contains the following warnings:
- Read about this warning and how to address it here: https://nx.dev/troubleshooting/unknown-local-cache

Generated by 🚫 dangerJS against 1d4e520

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai: claude patch Patch production bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants