File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: 'CodeQL Advanced'
22
33on :
44 push :
5- branches : ['master ']
5+ branches : ['main ']
66 pull_request :
7- branches : ['master ']
7+ branches : ['main ']
88 schedule :
99 - cron : ' 32 13 * * 1'
1010
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: "Release"
33on :
44 pull_request :
55 types : [closed]
6- branches : [master ]
6+ branches : [main ]
77 workflow_dispatch :
88
99permissions :
1919 check-release-label :
2020 name : Check for release label
2121 runs-on : ubuntu-latest
22- # Run when PR with 'release' label is merged to master
22+ # Run when PR with 'release' label is merged to main
2323 if : |
2424 github.event_name == 'workflow_dispatch' ||
2525 (github.event_name == 'pull_request' &&
3131 - name : Checkout repository
3232 uses : actions/checkout@v4
3333 with :
34- ref : master
34+ ref : main
3535 fetch-depth : 0
3636
3737 - name : Check release conditions
9191 - name : Checkout repository
9292 uses : actions/checkout@v4
9393 with :
94- ref : master
94+ ref : main
9595 fetch-depth : 0
9696 token : ${{ steps.releaser.outputs.token }}
9797
@@ -147,7 +147,7 @@ jobs:
147147 with :
148148 commit_message : " chore: Release v${{ steps.sampo-release.outputs.new_version }}"
149149 repo : ${{ github.repository }}
150- branch : master
150+ branch : main
151151 env :
152152 GITHUB_TOKEN : ${{ steps.releaser.outputs.token }}
153153
@@ -199,7 +199,7 @@ jobs:
199199 if : steps.commit-release.outputs.commit-hash != ''
200200 env :
201201 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
202- run : gh workflow run generate-references.yml --ref master
202+ run : gh workflow run generate-references.yml --ref main
203203
204204 # Notify in case of a failure
205205 - name : Send failure event to PostHog
Original file line number Diff line number Diff line change 99 pull_request :
1010 push :
1111 branches :
12- - master
12+ - main
1313
1414jobs :
1515 compliance :
Original file line number Diff line number Diff line change 22version = 1
33
44[git ]
5- default_branch = " master "
5+ default_branch = " main "
66short_tags = " posthog" # Tag with v1.2.3 rather than posthog-v1.2.3
77
88[github ]
You can’t perform that action at this time.
0 commit comments