Skip to content

Conversation

@damccorm
Copy link
Contributor

@damccorm damccorm commented Jul 14, 2023

This adds the same level of branch protection we have currently, but does it through the .asf.yaml. This will make our disaster recovery story much cleaner since we will be able to enable force pushes as needed if we ever need to rewrite history.

Running the workflow against my repo produced this commit - feac140

Fixes #26721


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI.

@github-actions github-actions bot added the build label Jul 14, 2023
@damccorm damccorm marked this pull request as ready for review July 14, 2023 12:53
@damccorm
Copy link
Contributor Author

R: @jrmccluskey

@damccorm
Copy link
Contributor Author

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

Copy link
Contributor

@jrmccluskey jrmccluskey left a comment

Choose a reason for hiding this comment

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

LGTM

@jrmccluskey jrmccluskey merged commit 905794c into apache:master Jul 14, 2023
@damccorm damccorm deleted the users/damccorm/asfyaml branch July 14, 2023 14:38
aleksandr-dudko pushed a commit to aleksandr-dudko/beam that referenced this pull request Jul 17, 2023
* Add branch protection rules via .asf.yaml

* Fix branch replacement
cushon pushed a commit to cushon/beam that referenced this pull request May 24, 2024
* Add branch protection rules via .asf.yaml

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Configure repository branch protection rules in .asf.yaml

2 participants