Skip to content

Update pnpm/action-setup to v4 #467

Update pnpm/action-setup to v4

Update pnpm/action-setup to v4 #467

name: "Check Protobuf Compatibility"
on:
workflow_dispatch:
inputs:
upstream_commit_version:
description: 'The commit version to check compatibility against'
required: false
default: 'main'
pull_request:
# cancel redundant builds
concurrency:
# for push and workflow_dispatch events we use `github.sha` in the concurrency group and don't really cancel each other out/limit concurrency
# for pull_request events newer jobs cancel earlier jobs to save on CI etc.
group: ${{ github.workflow }}-${{ github.event_name }}-${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.sha || github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
CheckProtobufCompatibilityAgainstCurrentPR:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/protobuf-compatibility-check/
with:
# Either current PR or the latest commit on the branch
upstream_commit_version: ${{ github.event.inputs.upstream_commit_version || 'main' }}