diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9612e8ecbe..872c859304 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,10 @@ name: Build and Test on: push: branches: [main, release/*] - pull_request_target: - branches: [main] + pull_request: + branches: + - "main" + - "release/*" jobs: build: diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 4b452c900d..04698de4d1 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -1,8 +1,9 @@ name: Flow build and test on: - pull_request_target: - branches: [main] + pull_request: + branches: + - "main" push: branches: [main] @@ -10,7 +11,7 @@ jobs: flow_test: strategy: matrix: - runner: [ubicloud-standard-4] + runner: [ubicloud-standard-8] runs-on: ${{ matrix.runner }} timeout-minutes: 30 services: @@ -34,7 +35,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '>=1.19.0' + go-version: ">=1.19.0" - name: install gotestsum run: | diff --git a/.github/workflows/golang-lint.yml b/.github/workflows/golang-lint.yml index adf47ca443..fd685d8c44 100644 --- a/.github/workflows/golang-lint.yml +++ b/.github/workflows/golang-lint.yml @@ -1,6 +1,9 @@ name: GolangCI-Lint -on: [pull_request_target] +on: + pull_request: + branches: + - "main" jobs: golangci-lint: diff --git a/.github/workflows/rust-lint.yml b/.github/workflows/rust-lint.yml index 1893386ed8..d87b891957 100644 --- a/.github/workflows/rust-lint.yml +++ b/.github/workflows/rust-lint.yml @@ -1,5 +1,10 @@ name: clippy-action -on: [pull_request_target] + +on: + pull_request: + branches: + - "main" + jobs: clippy: permissions: