mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
[CI] Fix PR check workflow (#4482)
This commit is contained in:
4
.github/workflows/pr-checks.yml
vendored
4
.github/workflows/pr-checks.yml
vendored
@@ -76,10 +76,10 @@ jobs:
|
|||||||
- name: Check for screen recording
|
- name: Check for screen recording
|
||||||
id: check-recording
|
id: check-recording
|
||||||
if: steps.check-changes.outputs.should_run == 'true'
|
if: steps.check-changes.outputs.should_run == 'true'
|
||||||
|
env:
|
||||||
|
PR_BODY: ${{ github.event.pull_request.body }}
|
||||||
run: |
|
run: |
|
||||||
# Check PR body for screen recording
|
# Check PR body for screen recording
|
||||||
PR_BODY="${{ github.event.pull_request.body }}"
|
|
||||||
|
|
||||||
# Check for GitHub user attachments or YouTube links
|
# Check for GitHub user attachments or YouTube links
|
||||||
if echo "$PR_BODY" | grep -qiE 'github\.com/user-attachments/assets/[a-f0-9-]+|youtube\.com/watch|youtu\.be/'; then
|
if echo "$PR_BODY" | grep -qiE 'github\.com/user-attachments/assets/[a-f0-9-]+|youtube\.com/watch|youtu\.be/'; then
|
||||||
echo "has_recording=true" >> "$GITHUB_OUTPUT"
|
echo "has_recording=true" >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user