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

✨ Support Branch-Protection via GitHub Repository Rules #3354

Merged
merged 26 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
62031e5
repo rulesets via v4 api
thepwagner Aug 6, 2023
3af4e03
good enough fnmatch implementation.
spencerschrock Aug 4, 2023
5e302e7
good enough rulesMatchingBranch
thepwagner Aug 5, 2023
e25f8fb
apply matching repo rules to branch protection settings
thepwagner Aug 5, 2023
68f2695
rules: consider admins and require checks
thepwagner Aug 6, 2023
f00687e
Merge remote-tracking branch 'ossf/main' into rulesets-via-v4-api
thepwagner Aug 12, 2023
a808f69
non-structural chanages from PR feedback
thepwagner Aug 12, 2023
3e527f7
fetch default branch name during repo rules query
thepwagner Aug 12, 2023
7b908a1
Testing applyRepoRules
thepwagner Aug 18, 2023
1164399
Merge remote-tracking branch 'ossf/main' into rulesets-via-v4-api
thepwagner Aug 18, 2023
be6dda3
Test_applyRepoRules: builder and standardize names
thepwagner Aug 19, 2023
7fbb32b
attempt to upgrade/downgrade EnforceAdmins as each rule is applied
thepwagner Aug 19, 2023
e2a0fd9
simplify enforce admin for now.
spencerschrock Sep 6, 2023
44fa795
handle merging pull request reviews
spencerschrock Sep 6, 2023
02bdcaf
handle merging check rules
spencerschrock Sep 6, 2023
f2fba75
handle last push approval
spencerschrock Sep 6, 2023
f4d236b
handle linear history
spencerschrock Sep 6, 2023
7e66fc0
use constants for github rule types.
spencerschrock Sep 6, 2023
89a3f75
add status check test.
spencerschrock Sep 6, 2023
48f85eb
add e2e test for repo rules.
spencerschrock Sep 6, 2023
d03dec5
Merge branch 'main' into pr/thepwagner/3354
spencerschrock Sep 6, 2023
42083ca
handle nil branch name data
spencerschrock Sep 13, 2023
a7fa71f
add tracking issue.
spencerschrock Sep 13, 2023
e26cb91
fix precedence in if statement
spencerschrock Sep 13, 2023
237637a
include repo rules in the check docs.
spencerschrock Sep 14, 2023
275b76e
Merge branch 'main' into pr/thepwagner/3354
spencerschrock Sep 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading