Skip to content

Fixes .asf.yaml and update protection rules#3

Merged
FreeAndNil merged 1 commit into
masterfrom
fix/asf-yaml
May 17, 2026
Merged

Fixes .asf.yaml and update protection rules#3
FreeAndNil merged 1 commit into
masterfrom
fix/asf-yaml

Conversation

@ppkarwasz
Copy link
Copy Markdown
Member

The automatic PR #2 did create any protection rules, since the update failed:

https://lists.apache.org/thread/pqf7s9t1y0ctqpyjj8x0j3wtzrx8x5gt

This PR:

  • Removes the invalid profile key from the publish object that caused the update to fail.
  • Adds asf-site to the branches protected from deletion and history rewriting. It also removes the rel/* and release/* patterns that don't exist in this repo.
  • Adds a rule for asf-staging, but only protects it from deletion.
  • Disables tags: we don't use them in this repo.

The automatic PR #2 did create any protection rules, since the update
failed:

https://lists.apache.org/thread/pqf7s9t1y0ctqpyjj8x0j3wtzrx8x5gt

This PR:

- Removes the invalid `profile` key from the `publish` object that
  caused the update to fail.
- Adds `asf-site` to the branches protected from deletion and history
  rewriting. It also removes the `rel/*` and `release/*` patterns that
  don't exist in this repo.
- Adds a rule for `asf-staging`, but only protects it from deletion.
- Disables tags: we don't use them in this repo.
Comment thread .asf.yaml
- root
restrict_force_push: false
# There is no convenience notation for `creation` and `update`, so we need to use the raw rule syntax.
#
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks

@FreeAndNil FreeAndNil merged commit a7dadd3 into master May 17, 2026
@FreeAndNil FreeAndNil deleted the fix/asf-yaml branch May 17, 2026 18:19
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