Skip to content

Commit 299f29d

Browse files
authored
[other] use main as default branch (#1095)
# Pull Request Template ## Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Fixes # (issue) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Unit test - [ ] Integration test ## JS Budget Check Please mention the size in kb before abd after this PR | Files | Before | After | | ----------- | ----------- | ----------- | | dist/build.js. | | | | dist/build.min.js| | | ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules - [ ] I have checked my code and corrected any misspellings ## Mentions: List the person or team responsible for reviewing proposed changes. cc @BranchMetrics/saas-sdk-devs for visibility.
1 parent 7b5b77c commit 299f29d

File tree

4 files changed

+5
-43
lines changed

4 files changed

+5
-43
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ updates:
66
directory: "/"
77
schedule:
88
interval: "weekly"
9-
# Raise pull requests against the "master" branch
10-
target-branch: "master"
9+
# Raise pull requests against the "main" branch
10+
target-branch: "main"
1111
# Allow up to 10 open pull requests
1212
open-pull-requests-limit: 10
1313
# Use custom labels on pull requests for Docker version updates

.github/workflows/build-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ jobs:
9494
run: make release
9595

9696
- name: AWS, credentials setup
97-
if: ${{ github.ref == 'refs/heads/master' }}
97+
if: ${{ github.ref == 'refs/heads/main' }}
9898
uses: aws-actions/configure-aws-credentials@v4
9999
with:
100100
aws-region: us-west-1
101101
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
102102
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
103103

104104
- name: Deploy updated builds to staging
105-
if: ${{ github.ref == 'refs/heads/master' }}
105+
if: ${{ github.ref == 'refs/heads/main' }}
106106
id: build
107107
run: |
108108
./deployment/deploy-qa.sh

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"description": "The Branch Web SDK provides an easy way to interact with the Branch API, to track and attribute mobile app downloads and referrals.",
88
"version": "2.71.0",
99
"main": "dist/build.min.js",
10-
"license": "https://github.com/BranchMetrics/Web-SDK/blob/master/LICENSE",
10+
"license": "https://github.com/BranchMetrics/Web-SDK/blob/main/LICENSE",
1111
"homepage": "http://branch.io",
1212
"repository": {
1313
"type": "git",

deployment/master_builds.sh

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)