Skip to content

Commit 4ffbbcc

Browse files
author
tkrop
committed
feat: migrate master to main (zalando#706)
1 parent cfd20b9 commit 4ffbbcc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Build
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
4-
# events but only for the master branch
4+
# events but only for the main branch
55
on:
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88
push:
9-
branches: [ master ]
9+
branches: [ main ]
1010

1111
jobs:
1212
build_docs:
@@ -22,21 +22,21 @@ jobs:
2222
2323
- name: Get Github Token
2424
id: get-gh-token
25-
if: ${{ github.ref == 'refs/heads/master' }}
25+
if: ${{ github.ref == 'refs/heads/main' }}
2626
uses: vadeg/[email protected]
2727
with:
2828
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
2929
application_id: ${{ secrets.APP_ID }}
3030

3131
- name: Create Zally Issues
32-
if: ${{ github.ref == 'refs/heads/master' }}
32+
if: ${{ github.ref == 'refs/heads/main' }}
3333
env:
3434
GH_TOKEN: ${{ steps.get-gh-token.outputs.gh_access_token }}
3535
run: |
3636
scripts/create-zally-issue.sh
3737
3838
- name: Deploy to GitHub Pages
39-
if: ${{ github.ref == 'refs/heads/master' }}
39+
if: ${{ github.ref == 'refs/heads/main' }}
4040
uses: peaceiris/actions-gh-pages@v3
4141
with:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)