diff --git a/.github/workflows/add-labels-for-pr.yml b/.github/workflows/add-labels-for-pr.yml index feec56d6a7..497d2eab41 100644 --- a/.github/workflows/add-labels-for-pr.yml +++ b/.github/workflows/add-labels-for-pr.yml @@ -10,7 +10,7 @@ jobs: name: 为 PR 添加标签 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-ecosystem/action-add-labels@v1 with: github_token: ${{ secrets.GITHUBTOKEN }} diff --git a/.github/workflows/build-push-oss.yml b/.github/workflows/build-push-oss.yml index fd14e0ae52..9b17a3d881 100644 --- a/.github/workflows/build-push-oss.yml +++ b/.github/workflows/build-push-oss.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest name: Build Docker Image and Push without X-Pack Submodules steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: false token: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 0abea080a3..0a490105f3 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest name: Build Docker Image and Push steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true token: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index e5a20798ab..886087eed7 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -1,4 +1,10 @@ -on: push +on: + push: + branches: + - v3.* + pull_request: + branches: + - v3.* name: MeterSphere 覆盖率统计 @@ -7,9 +13,10 @@ permissions: jobs: generic_handler: + name: 覆盖率统计 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 uses: actions/setup-java@v3 with: