Skip to content

Commit 055f8fd

Browse files
authored
chore: update branch references to main (#506)
* chore: update branch references to main * chore: update Sampo default branch to main
1 parent 5f81548 commit 055f8fd

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: 'CodeQL Advanced'
22

33
on:
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

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Release"
33
on:
44
pull_request:
55
types: [closed]
6-
branches: [master]
6+
branches: [main]
77
workflow_dispatch:
88

99
permissions:
@@ -19,7 +19,7 @@ jobs:
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' &&
@@ -31,7 +31,7 @@ jobs:
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
@@ -91,7 +91,7 @@ jobs:
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

.github/workflows/sdk-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010
push:
1111
branches:
12-
- master
12+
- main
1313

1414
jobs:
1515
compliance:

.sampo/config.toml

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

44
[git]
5-
default_branch = "master"
5+
default_branch = "main"
66
short_tags = "posthog" # Tag with v1.2.3 rather than posthog-v1.2.3
77

88
[github]

0 commit comments

Comments
 (0)