-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #792 from newrelic/develop
Release
- Loading branch information
Showing
10 changed files
with
4,096 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: null, | ||
|
@@ -71,7 +71,7 @@ jobs: | |
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.OPENSOURCE_BOT_TOKEN }} | ||
branch: main | ||
branch: develop | ||
|
||
- name: Re-enable "required_pull_request_reviews" branch protection | ||
id: enable-branch-protection | ||
|
@@ -84,7 +84,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ name: Release | |
on: | ||
push: | ||
branches: | ||
# todo: change this branch name | ||
- main | ||
- develop | ||
|
||
env: | ||
BOT_NAME: nr-opensource-bot | ||
|
@@ -111,7 +110,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: null, | ||
|
@@ -124,7 +123,7 @@ jobs: | |
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.OPENSOURCE_BOT_TOKEN }} | ||
branch: main | ||
branch: develop | ||
|
||
- name: Re-enable "required_pull_request_reviews" branch protection | ||
id: enable-branch-protection | ||
|
@@ -137,7 +136,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: true, | ||
|
@@ -187,7 +186,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: null, | ||
|
@@ -217,7 +216,7 @@ jobs: | |
const result = await github.repos.updateBranchProtection({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
branch: 'main', | ||
branch: 'develop', | ||
required_status_checks: null, | ||
restrictions: null, | ||
enforce_admins: true, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.