Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/sign_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ on:
pull_request_target:
types: [opened, edited, synchronize, reopened]
paths:
- Projects-info/**
- networks/**

- assets/**

jobs:
check_pr:
Expand All @@ -17,13 +18,17 @@ jobs:
labels: |
Signature Verified
Signature Not-Verified
Logo Format Error
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: Waiting Signature Verifier
- uses: actions/checkout@v4
- 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
Expand All @@ -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'
Expand Down
Loading