Skip to content

Commit 1895373

Browse files
Merge pull request #1437 from microsoftgraph/chore/removeRefsToDevBranch
Remove refs to Dev branch
2 parents 6933a39 + 82e175c commit 1895373

File tree

3 files changed

+4
-40
lines changed

3 files changed

+4
-40
lines changed

.github/policies/MSGraph-SDK-Code-Generator-branch-protection.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,6 @@ resource: repository
99
configuration:
1010
branchProtectionRules:
1111

12-
- branchNamePattern: dev
13-
# This branch pattern applies to the following branches:
14-
# dev
15-
16-
# Specifies whether this branch can be deleted. boolean
17-
allowsDeletions: false
18-
# Specifies whether forced pushes are allowed on this branch. boolean
19-
allowsForcePushes: false
20-
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
21-
dismissStaleReviews: true
22-
# Specifies whether admins can overwrite branch protection. boolean
23-
isAdminEnforced: false
24-
# Indicates whether "Require a pull request before merging" is enabled. boolean
25-
requiresPullRequestBeforeMerging: true
26-
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
27-
requiredApprovingReviewsCount: 1
28-
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
29-
requireCodeOwnersReview: true
30-
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
31-
requiresCommitSignatures: false
32-
# Are conversations required to be resolved before merging? boolean
33-
requiresConversationResolution: true
34-
# Are merge commits prohibited from being pushed to this branch. boolean
35-
requiresLinearHistory: false
36-
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
37-
requiredStatusChecks:
38-
- build
39-
- CodeQL
40-
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
41-
requiresStrictStatusChecks: true
42-
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
43-
restrictsPushes: false
44-
# Restrict who can dismiss pull request reviews. boolean
45-
restrictsReviewDismissals: false
46-
4712
- branchNamePattern: main
4813
# This branch pattern applies to the following branches:
4914
# main

.github/workflows/codeql.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "dev", "main" ]
16+
branches: [ "main" ]
1717
pull_request:
18-
# The branches below must be a subset of the branches above
19-
branches: [ "dev" ]
18+
branches: [ "main" ]
2019
schedule:
2120
- cron: '1 * * * 1' # At minute 0 on Monday
2221

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ main, dev ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ main, dev ]
7+
branches: [ main ]
88

99
jobs:
1010
build:

0 commit comments

Comments
 (0)