Skip to content

Conversation

@drewr
Copy link
Contributor

@drewr drewr commented Jan 22, 2026

Hopefully this addresses the root cause of #83 which is that staying on top of the generated PRs was challenging.

@drewr drewr requested review from gianarb and scotwells January 22, 2026 20:23
@scotwells
Copy link
Contributor

@drewr have you confirmed this works? Think you should be able to modify the go.mod file to get this to execute.

@drewr
Copy link
Contributor Author

drewr commented Jan 22, 2026

I didn't think I could until the workflow was in main. Lemme try.

@drewr
Copy link
Contributor Author

drewr commented Jan 22, 2026

Looks like I can. 🤞

@drewr
Copy link
Contributor Author

drewr commented Jan 22, 2026

Well it doesn't not work...

Run arduino/setup-task@v2
Error: API rate limit exceeded for 68.220.59.211. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

@scotwells
Copy link
Contributor

Looks like you don't need to emit status checks directly. Just need to make sure the pipeline fails when an error happens and have the pipeline end successfully if everything was updated or no updates were needed.

image

@drewr
Copy link
Contributor Author

drewr commented Jan 22, 2026

Not sure why it showed up both as its own check and under ctl testing, but those are separate. The only way to have that commit gate the PR being merged is for it to be a check.

@drewr
Copy link
Contributor Author

drewr commented Jan 22, 2026

OK, I think this works better. However, since there hasn't been a real deps change the hash hasn't needed updating, so there isn't a commit, but I can't see why that wouldn't have worked (famous last words).

@drewr drewr enabled auto-merge January 22, 2026 21:16
@scotwells
Copy link
Contributor

@drewr yeah a workflow by definition is a check. We'll just need to configure the branch protection policy to require that check complete before allowing the PR to be merged.

@drewr drewr merged commit be094c5 into main Jan 22, 2026
2 checks passed
@drewr drewr deleted the feat/update-nix-hash-as-check branch January 22, 2026 21:16
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.

3 participants