diff --git a/.github/workflows/sign_checker.yaml b/.github/workflows/sign_checker.yaml index 17f81cf..09fa858 100644 --- a/.github/workflows/sign_checker.yaml +++ b/.github/workflows/sign_checker.yaml @@ -3,8 +3,9 @@ on: pull_request_target: types: [opened, edited, synchronize, reopened] paths: + - Projects-info/** - networks/** - + - assets/** jobs: check_pr: @@ -17,6 +18,7 @@ jobs: labels: | Signature Verified Signature Not-Verified + Logo Format Error - uses: actions-ecosystem/action-add-labels@v1 with: labels: Waiting Signature Verifier @@ -24,6 +26,9 @@ jobs: - name: Get changed files id: changed-files uses: tj-actions/changed-files@v45 + with: + base_sha: ${{ github.event.pull_request.base.sha }} + sha: ${{ github.event.pull_request.head.sha }} - name: Check signature uses: ./.github/actions/checker @@ -44,6 +49,11 @@ jobs: if: success() && steps.signature.outputs.verified == 'true' with: labels: Signature Verified + - name: Label when logo format error + uses: actions-ecosystem/action-add-labels@v1 + if: "!cancelled() && steps.signature.outputs.logoVerified == 'false'" + with: + labels: Logo Format Error - name: Label remove when disapproved uses: actions-ecosystem/action-add-labels@v1 if: failure() || steps.signature.outputs.verified == 'false'