Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: 'CodeQL Advanced'

on:
push:
branches: ['master']
branches: ['main']
pull_request:
branches: ['master']
branches: ['main']
schedule:
- cron: '32 13 * * 1'

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Release"
on:
pull_request:
types: [closed]
branches: [master]
branches: [main]
workflow_dispatch:

permissions:
Expand All @@ -19,7 +19,7 @@ jobs:
check-release-label:
name: Check for release label
runs-on: ubuntu-latest
# Run when PR with 'release' label is merged to master
# Run when PR with 'release' label is merged to main
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' &&
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: master
ref: main
fetch-depth: 0

- name: Check release conditions
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: master
ref: main
fetch-depth: 0
token: ${{ steps.releaser.outputs.token }}

Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
commit_message: "chore: Release v${{ steps.sampo-release.outputs.new_version }}"
repo: ${{ github.repository }}
branch: master
branch: main
env:
GITHUB_TOKEN: ${{ steps.releaser.outputs.token }}

Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
if: steps.commit-release.outputs.commit-hash != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run generate-references.yml --ref master
run: gh workflow run generate-references.yml --ref main

# Notify in case of a failure
- name: Send failure event to PostHog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
compliance:
Expand Down
2 changes: 1 addition & 1 deletion .sampo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version = 1

[git]
default_branch = "master"
default_branch = "main"
short_tags = "posthog" # Tag with v1.2.3 rather than posthog-v1.2.3

[github]
Expand Down
Loading