Skip to content

Commit

Permalink
chore(build): activate the CI on push on main
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbesnier committed Aug 27, 2021
1 parent d299369 commit f8cd176
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, Test and Deploy
on:
push:
branches:
- master
- main
- beta
pull_request:

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
name: Release package
runs-on: ubuntu-latest
needs: [test]
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta')
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Forest Express Lianas dependency

[![npm package](https://badge.fury.io/js/forest-express.svg)](https://badge.fury.io/js/forest-express)
[![CI status](https://github.com/ForestAdmin/forest-express/workflows/Build,%20Test%20and%20Deploy/badge.svg?branch=master)](https://github.com/ForestAdmin/forest-express/actions)
[![CI status](https://github.com/ForestAdmin/forest-express/workflows/Build,%20Test%20and%20Deploy/badge.svg?branch=main)](https://github.com/ForestAdmin/forest-express/actions)
[![Test Coverage](https://api.codeclimate.com/v1/badges/760886d5e81ea4095e90/test_coverage)](https://codeclimate.com/github/ForestAdmin/forest-express/test_coverage)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// NOTICE: When a github "squash and merge" is performed, github add the PR link in the commit
// message using the format ` (#<PR_ID>)`. Github provide the target branch of the build,
// so authorizing 4+5 = 9 characters more on master for the max header length should work
// so authorizing 4+5 = 9 characters more on main for the max header length should work
// until we reach PR #99999.

let maxLineLength = 100;
Expand Down

0 comments on commit f8cd176

Please sign in to comment.