From caa2964d777e6e9b0b09b46fb8cc80efaf47992a Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 14 Apr 2026 15:25:44 +0100 Subject: [PATCH 1/2] chore: update branch references to main --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/release.yml | 12 ++++++------ .github/workflows/sdk-compliance.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 97ca1ef4..61646b4c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: 'CodeQL Advanced' on: push: - branches: ['master'] + branches: ['main'] pull_request: - branches: ['master'] + branches: ['main'] schedule: - cron: '32 13 * * 1' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c3ddbf3..e6f1a3bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: "Release" on: pull_request: types: [closed] - branches: [master] + branches: [main] workflow_dispatch: permissions: @@ -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' && @@ -31,7 +31,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: master + ref: main fetch-depth: 0 - name: Check release conditions @@ -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 }} @@ -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 }} @@ -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 diff --git a/.github/workflows/sdk-compliance.yml b/.github/workflows/sdk-compliance.yml index 82dc865b..7e58fa79 100644 --- a/.github/workflows/sdk-compliance.yml +++ b/.github/workflows/sdk-compliance.yml @@ -9,7 +9,7 @@ on: pull_request: push: branches: - - master + - main jobs: compliance: From 8520f588c0ae844bc52e05db95050e9fed061945 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 14 Apr 2026 15:31:44 +0100 Subject: [PATCH 2/2] chore: update Sampo default branch to main --- .sampo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.sampo/config.toml b/.sampo/config.toml index e099fcb1..5666fc36 100644 --- a/.sampo/config.toml +++ b/.sampo/config.toml @@ -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]