Skip to content

Commit

Permalink
[other] use main as default branch (#1095)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
bredmond5 authored Dec 11, 2024
1 parent 7b5b77c commit 299f29d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
# Raise pull requests against the "master" branch
target-branch: "master"
# Raise pull requests against the "main" branch
target-branch: "main"
# Allow up to 10 open pull requests
open-pull-requests-limit: 10
# Use custom labels on pull requests for Docker version updates
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ jobs:
run: make release

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

- name: Deploy updated builds to staging
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
id: build
run: |
./deployment/deploy-qa.sh
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The Branch Web SDK provides an easy way to interact with the Branch API, to track and attribute mobile app downloads and referrals.",
"version": "2.71.0",
"main": "dist/build.min.js",
"license": "https://github.com/BranchMetrics/Web-SDK/blob/master/LICENSE",
"license": "https://github.com/BranchMetrics/Web-SDK/blob/main/LICENSE",
"homepage": "http://branch.io",
"repository": {
"type": "git",
Expand Down
38 changes: 0 additions & 38 deletions deployment/master_builds.sh

This file was deleted.

0 comments on commit 299f29d

Please sign in to comment.