Skip to content

Commit e817d00

Browse files
authored
Merge pull request #773 from Homebrew/use_main_branch
2 parents 1a1bf2f + 9d257d8 commit e817d00

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/scheduled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Scheduled regeneration
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
schedule:
99
# Once every hour
@@ -47,7 +47,7 @@ jobs:
4747

4848
deploy:
4949
needs: generate
50-
if: ${{ github.ref_name == 'master' }}
50+
if: ${{ github.ref_name == 'main' }}
5151
permissions:
5252
pages: write
5353
id-token: write
@@ -66,7 +66,7 @@ jobs:
6666
deploy-issue:
6767
name: Open/close deploy issue
6868
needs: [generate, deploy]
69-
if: ${{ always() && github.ref_name == 'master' }}
69+
if: ${{ always() && github.ref_name == 'main' }}
7070
env:
7171
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
7272
runs-on: ubuntu-latest

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77

88
concurrency:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Homebrew RubyDoc](https://rubydoc.brew.sh) is an online Ruby documentation browser for [Homebrew/brew](https://github.com/Homebrew/brew).
44

5-
A [GitHub Action](https://github.com/Homebrew/rubydoc.brew.sh/blob/master/.github/workflows/scheduled.yml) is run periodically, which deploys the site to GitHub Pages.
5+
A [GitHub Action](https://github.com/Homebrew/rubydoc.brew.sh/blob/main/.github/workflows/scheduled.yml) is run periodically, which deploys the site to GitHub Pages.
66

77
## Usage
88

0 commit comments

Comments
 (0)