The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix: fail CLA allowlist step on API errors (#15792)
Alexis Rolland28864ca8fed6
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.ymlindex bc0f779cf..31645356c 100644--- a/.github/workflows/cla.yml+++ b/.github/workflows/cla.yml@@ -35,9 +35,12 @@ jobs:# For each commit emit the GitHub login when the author/committer email resolves to a GitHub account# otherwise fall back to the raw git name.run: |- others=$(gh api "repos/${{ github.repository }}/pulls/${PR_NUMBER}/commits" --paginate \- --jq '.[] | (.author.login // .commit.author.name // empty), (.committer.login // .commit.committer.name // empty)' \- | sort -u | grep -vix "${PR_AUTHOR}" | paste -sd, -)+ if ! commit_authors=$(gh api "repos/${{ github.repository }}/pulls/${PR_NUMBER}/commits" --paginate \+ --jq '.[] | (.author.login // .commit.author.name // empty), (.committer.login // .commit.committer.name // empty)'); then+ echo "Failed to fetch pull request commits" >&2+ exit 1+ fi+ others=$(printf '%s\n' "$commit_authors" | sort -u | grep -vix "${PR_AUTHOR}" | paste -sd, -)if [ -n "$others" ]; thenecho "allowlist=${BASE_ALLOWLIST},${others}" >> "$GITHUB_OUTPUT"else