potiuk opened a new pull request, #105:
URL: https://github.com/apache/airflow-steward/pull/105
## Summary
asfyaml has been failing on every push with:
> An error occurred while processing the github feature in
> .asf.yaml: `Repository.create_environment() got an unexpected
> keyword argument 'prevent_self_review'`
asfyaml's environment handler now passes \`prevent_self_review\` to
PyGithub's \`Repository.create_environment()\`, but the PyGithub
version asfyaml ships doesn't accept that kwarg.
The \`environments:\` block in our \`.asf.yaml\` was **scaffolding** for an
eventual ASF-Trusted-Releases (ATR) workflow that does not exist
yet. Removing it unblocks asfyaml processing immediately and costs
nothing (no release workflow targets the env).
A comment is left in place documenting why the block is absent and
when to re-add it.
## When to re-add the block
- Upstream fix lands in \`apache/infrastructure-asfyaml\` so the
\`prevent_self_review\` kwarg is no longer passed (or is supported by
the PyGithub version asfyaml uses), **and**
- a release workflow exists that targets the \`atr-release\`
deployment environment.
## Test plan
- [x] \`prek run --files .asf.yaml\` clean
- [ ] After merge: confirm next \`.asf.yaml\` processing run on
\`infrastructure@\` shows no \`prevent_self_review\` error
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]