diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6406d2fa3d..c1dd446f52 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,7 +9,8 @@ on: jobs: build: - runs-on: self-hosted + if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build') + runs-on: ubuntu-latest # Change this to use GitHub-hosted runner steps: - uses: actions/checkout@v4 - name: Set up Go