mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
chore: temporarily re-enable push trigger for sno-qa-* reruns
This commit is contained in:
9
.github/workflows/pr-qa.yaml
vendored
9
.github/workflows/pr-qa.yaml
vendored
@@ -10,6 +10,8 @@
|
||||
name: 'PR: QA'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [sno-qa-*]
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
branches: [main]
|
||||
@@ -90,6 +92,9 @@ jobs:
|
||||
NUM=$(gh pr list --repo "$REPO" \
|
||||
--head "$BRANCH" --state open \
|
||||
--json number --jq '.[0].number // empty')
|
||||
if [ -z "$NUM" ]; then
|
||||
NUM=$(echo "$BRANCH" | sed -n 's/^sno-qa-\([0-9]\+\)$/\1/p')
|
||||
fi
|
||||
fi
|
||||
echo "number=${NUM}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
@@ -473,7 +478,8 @@ jobs:
|
||||
needs: [resolve-matrix, analyze-pr, qa-before, qa-after]
|
||||
if: >-
|
||||
always() &&
|
||||
(needs.qa-after.result == 'success' || needs.qa-before.result == 'success')
|
||||
(needs.qa-after.result == 'success' || needs.qa-before.result == 'success') &&
|
||||
(github.event.pull_request.number || github.event.issue.number || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -650,6 +656,7 @@ jobs:
|
||||
REPO: ${{ github.repository }}
|
||||
run: |
|
||||
NUM="${PR_NUM:-$(gh pr list --repo "$REPO" --head "$BRANCH" --state open --json number --jq '.[0].number // empty')}"
|
||||
[ -z "$NUM" ] && NUM=$(echo "$BRANCH" | sed -n 's/^sno-qa-\([0-9]\+\)$/\1/p')
|
||||
echo "number=${NUM}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
if [ -n "$NUM" ]; then
|
||||
|
||||
Reference in New Issue
Block a user