diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 199487d2..53c7032b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,12 @@ name: Python Release Build on: pull_request: - branches: ["main"] + branches: + - main push: tags: ["*-rc*"] - branches: ["branch-*"] + branches: + - branch-* jobs: generate-license: @@ -74,7 +76,7 @@ jobs: path: . - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v1.3.0 with: version: "3.x" repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -135,7 +137,7 @@ jobs: path: . - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v1.3.0 with: version: "3.x" repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d538381d..b29546e8 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -38,7 +38,7 @@ jobs: python-version: "3.10" - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v1.3.0 with: version: '3.x' repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 079fb448..4a7c0e09 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,9 +18,11 @@ name: Python test on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} @@ -53,7 +55,7 @@ jobs: override: true - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v1.3.0 with: version: '3.x' repo-token: ${{ secrets.GITHUB_TOKEN }}