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
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branch:
description: "Branch to be tagged"
required: true
default: master
default: main
tag:
description: "Tag for new version (v1.23.4)"
required: true
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
check-compatibility-sdk-go:
needs: prepare-inputs
if: ${{ github.event.inputs.skip_sdk_check == false || github.event.inputs.skip_sdk_check == 'false' }}
uses: temporalio/api-go/.github/workflows/check-sdk-compat.yml@master
uses: temporalio/api-go/.github/workflows/check-sdk-compat.yml@main
with:
sdk_ref: latest
api_ref: ${{ needs.prepare-inputs.outputs.api_go_commit_sha }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
if: |
!cancelled() &&
needs.create-release.result == 'success'
uses: temporalio/api-go/.github/workflows/create-release.yml@master
uses: temporalio/api-go/.github/workflows/create-release.yml@main
with:
ref: ${{ needs.prepare-inputs.outputs.api_go_commit_sha }}
tag: ${{ github.event.inputs.tag }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push-to-buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- 'v**'
branches:
- master
- main
permissions:
contents: read
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-api-go-delete-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
trigger-api-go-delete-release:
uses: temporalio/api-go/.github/workflows/delete-release.yml@master
uses: temporalio/api-go/.github/workflows/delete-release.yml@main
with:
tag: ${{ github.event.release.tag_name }}
api_commit_sha: ${{ github.event.release.target_commitish }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-api-go-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
trigger-api-go-publish-release:
uses: temporalio/api-go/.github/workflows/publish-release.yml@master
uses: temporalio/api-go/.github/workflows/publish-release.yml@main
with:
tag: ${{ github.event.release.tag_name }}
api_commit_sha: ${{ github.event.release.target_commitish }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/trigger-api-go-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ on:
push:
branches:
- master
- main
workflow_dispatch:
inputs:
branch:
description: "Branch in api-go repo to trigger update protos (default: master)"
description: "Branch in api-go repo to trigger update protos (default: main)"
required: true
default: master
default: main

jobs:
notify:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ http-api-docs:
##### Plugins & tools #####
grpc-install:
@printf $(COLOR) "Install/update protoc and plugins..."
@go install go.temporal.io/api/cmd/protogen@master
@go install go.temporal.io/api/cmd/protogen@main
@go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
@go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
Expand Down Expand Up @@ -118,8 +118,8 @@ buf-lint: $(STAMPDIR)/buf-mod-prune
(cd $(PROTO_ROOT) && buf lint)

buf-breaking:
@printf $(COLOR) "Run buf breaking changes check against master branch..."
@(cd $(PROTO_ROOT) && buf breaking --against 'https://github.com/temporalio/api.git#branch=master')
@printf $(COLOR) "Run buf breaking changes check against main branch..."
@(cd $(PROTO_ROOT) && buf breaking --against 'https://github.com/temporalio/api.git#branch=main')

nexus-rpc-yaml: nexus-rpc-yaml-install
printf $(COLOR) "Generate nexus/temporal-proto-models-nexusrpc.yaml..."
Expand Down
Loading