We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86ecc6 commit 5fca0a8Copy full SHA for 5fca0a8
.github/workflows/autocomment_staging_links.yaml
@@ -38,7 +38,7 @@ jobs:
38
-H "X-GitHub-Api-Version: 2022-11-28" \
39
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
40
$CREATE_COMMENT_URL \
41
- | jq -r '.[] | select(.user.login == "github-actions[bot]")'
+ | jq -r '.[] | select(.user.login == "github-actions[bot]" and ((.body // "") | contains("Staging links:")))'
42
)
43
EXISTING_COMMENT_ID=$(jq -r '.id' <<<"$EXISTING_COMMENT_JSON")
44
EXISTING_COMMENT=$(jq -r '.body' <<<"$EXISTING_COMMENT_JSON")
0 commit comments