Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add selector immutability checks #84

Merged
merged 6 commits into from
Dec 6, 2024

Conversation

KodeyThomas
Copy link
Contributor

@KodeyThomas KodeyThomas commented Dec 6, 2024

This PR adds in immutability checks for chain-selectors.

It's a simple GHA that checks out the previous ref and the current ref and ensures selectors are not modified. Decided to just use yq here, nothing fancy.

@smartcontractkit smartcontractkit deleted a comment from github-actions bot Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Selector Immutability has been violated ❌

Existing chain-selectors are immutable. Please ensure you have not modified or removed an existing selector

# Testnets
31:
  selector: 8953668971247136128
  name: "bitcoin-testnet-rootstock"

@smartcontractkit smartcontractkit deleted a comment from github-actions bot Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Selector Immutability has been violated ❌

Existing chain-selectors are immutable. Please ensure you have not modified or removed an existing selector

57054:
  selector: 3676871237479449268
  name: "sonic-testnet-blaze"

@KodeyThomas KodeyThomas marked this pull request as ready for review December 6, 2024 16:06
@KodeyThomas KodeyThomas requested review from a team as code owners December 6, 2024 16:06
@KodeyThomas KodeyThomas merged commit 13eee03 into main Dec 6, 2024
2 checks passed
@KodeyThomas KodeyThomas deleted the kodey/github-action-checks branch December 6, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants