From 81c46a12a99b0729a9c3917b74e4e7ea478e05a5 Mon Sep 17 00:00:00 2001 From: "Matt, Park" <45252226+mattverse@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:55:11 +0900 Subject: [PATCH] Fix CI(#511) --- .github/workflows/labeler.yml | 1 + .github/workflows/lint-pr.yml | 22 ---------------------- .github/workflows/test.yml | 10 +--------- 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/lint-pr.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e06ba1e39c16..bda6a1d32a4e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -14,4 +14,5 @@ jobs: steps: - uses: actions/labeler@v4 with: + configuration-path: .github/labeler.yml repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml deleted file mode 100644 index d5b4d46b2158..000000000000 --- a/.github/workflows/lint-pr.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: "Lint PR" - -on: - pull_request_target: - types: - - opened - - edited - - synchronize - -permissions: - contents: read - -jobs: - main: - permissions: - pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs - statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v5.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e2f8553c9fd..3c3c17cc059e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -264,12 +264,4 @@ jobs: if: env.GIT_DIFF run: | cd simapp - go test -mod=readonly -timeout 30m -tags='app_v1 norace ledger test_ledger_mock rocksdb_build' ./... - - name: sonarcloud - if: env.GIT_DIFF - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - with: - projectBaseDir: simapp/ + go test -mod=readonly -timeout 30m -tags='app_v1 norace ledger test_ledger_mock rocksdb_build' ./... \ No newline at end of file