Skip to content

Commit 4456492

Browse files
committed
Rename master to main
1 parent 6853a0d commit 4456492

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/branch_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Branch Build
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
deskpro_app_test_and_build:
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- run: git fetch --no-tags --depth=1 origin master
17+
- run: git fetch --no-tags --depth=1 origin main
1818

1919
- name: Clone repo
2020
uses: actions/checkout@v4
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
git add manifest.json
8080
git commit -m "Updated Manifest"
81-
git push origin master
81+
git push origin main
8282
8383
- name: Package app zip
8484
working-directory: dist
@@ -117,6 +117,6 @@ jobs:
117117
./dist/manifest.json
118118
119119
release:
120-
uses: DeskproApps/app-template-vite/.github/workflows/subworkflow-release.yml@master
120+
uses: DeskproApps/app-template-vite/.github/workflows/subworkflow-release.yml@main
121121
secrets: inherit
122122
needs: [deskpro_app_test_and_build]

.github/workflows/pr_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: PR Build
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
deskpro_app_test_and_build:
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- run: git fetch --no-tags --depth=1 origin master
15+
- run: git fetch --no-tags --depth=1 origin main
1616

1717
- name: Clone repo
1818
uses: actions/checkout@v4
@@ -89,7 +89,7 @@ jobs:
8989
retention-days: 7
9090

9191
deploy:
92-
uses: DeskproApps/app-template-vite/.github/workflows/subworkflow-deploy.yml@master
92+
uses: DeskproApps/app-template-vite/.github/workflows/subworkflow-deploy.yml@main
9393
secrets: inherit
9494
if: github.actor != 'dependabot[bot]'
9595
needs: [deskpro_app_test_and_build]

0 commit comments

Comments
 (0)