Skip to content

Commit

Permalink
Update default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Evans committed May 12, 2021
1 parent a35cf36 commit 38214a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: CI
on:
push:
branches: [master]
branches: [main]
paths-ignore:
- 'README.md'
- 'docs/**'
pull_request:
branches: [master]
branches: [main]
paths-ignore:
- 'README.md'
- 'docs/**'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
reactions: heart, hooray, laugh

package:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [test]
runs-on: ubuntu-latest
steps:
Expand All @@ -102,7 +102,7 @@ jobs:
commit-message: Update distribution
title: Update distribution
body: |
- Updates the distribution for changes on `master`
- Updates the distribution for changes on `main`
Auto-generated by [create-pull-request][1]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if [[ -z "$repository" ]]; then repository=${{ github.repository }}; fi
echo ::set-output name=repository::$repository
branch=${{ github.event.client_payload.slash_command.branch }}
if [[ -z "$branch" ]]; then branch="master"; fi
if [[ -z "$branch" ]]; then branch="main"; fi
echo ::set-output name=branch::$branch
# Checkout the branch to test
Expand Down

0 comments on commit 38214a0

Please sign in to comment.