Refactor PR validation workflow to add an in-progress comment step, improving user feedback during icon validation.

This commit is contained in:
codecalm 2025-12-23 00:35:03 +01:00
parent 1be9101e5f
commit 46dde4ef5a
1 changed files with 10 additions and 7 deletions

View File

@ -10,6 +10,15 @@ jobs:
if: github.repository == 'tabler/tabler-icons'
runs-on: ubuntu-latest
steps:
- name: Add in progress comment
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: validate
mode: recreate
content: |
🔄 Icons are being validated... Please wait...
continue-on-error: true
- uses: actions/checkout@v4
with:
fetch-depth: 0
@ -38,13 +47,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Add in progress comment
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: validate
mode: recreate
content: |
🔄 Icons are being validated... Please wait...
- name: Install dependencies
run: pnpm install --no-frozen-lockfile