diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 60b386895f2..00000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -on: - push: - branches: - - main - paths: - - protoc-gen-openapiv2/options/*.proto -permissions: - contents: read -name: main -jobs: - proto_push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4 - with: - check-latest: true - - run: make install - # Limit pushes to protoc-gen-openapiv2 files. This is a total hack. - # It excludes all the files that we don't want to publish, just for the push step. - - run: echo -e " - examples\n - internal\n - runtime" >> buf.yaml - - run: buf push --tag "${{ github.sha }}" - env: - BUF_TOKEN: ${{ secrets.BUF_TOKEN }} - PATH: $PATH:~/go/bin