From fe737151c4ecb10947477295f3c92ca88bfe9417 Mon Sep 17 00:00:00 2001 From: rishabh singh Date: Wed, 17 Jul 2024 00:11:16 +0530 Subject: [PATCH] test --- .github/workflows/static-checks.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index a3265e93255c..d1a7cc5f7173 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -14,17 +14,17 @@ # limitations under the License. name: "Static Checks CI" -#on: -# push: -# branches: -# - master -# - '[0-9]+.[0-9]+.[0-9]+' # release branches -# - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches -# pull_request: -# branches: -# - master -# - '[0-9]+.[0-9]+.[0-9]+' # release branches -# - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches +on: + push: + branches: + - master + - '[0-9]+.[0-9]+.[0-9]+' # release branches + - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches + pull_request: + branches: + - master + - '[0-9]+.[0-9]+.[0-9]+' # release branches + - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}' # group workflows only on pull_requests and not on branch commits @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '8', '11', '17', '21' ] + java: [ '8'] runs-on: ubuntu-latest steps: - name: checkout branch @@ -116,6 +116,7 @@ jobs: strategy: fail-fast: false runs-on: ubuntu-latest + if: false steps: - name: checkout branch uses: actions/checkout@v4 @@ -146,6 +147,7 @@ jobs: openrewrite: runs-on: ubuntu-latest + if: false steps: - name: checkout branch uses: actions/checkout@v4 @@ -178,6 +180,7 @@ jobs: strategy: fail-fast: false runs-on: ubuntu-latest + if: false steps: - name: checkout branch uses: actions/checkout@v4