diff --git a/bots/seambot/tests/github_integration.rs b/bots/seambot/tests/github_integration.rs index 76f9b65b..c3a50da6 100644 --- a/bots/seambot/tests/github_integration.rs +++ b/bots/seambot/tests/github_integration.rs @@ -151,7 +151,7 @@ mod tests { fn test_installation_token_response_parsing() { // Test installation token response can be parsed let response = r#"{ - "token": "test-token", + "token": "ghs_test-token", "expires_at": "2024-01-15T12:00:00Z" }"#; diff --git a/scripts/fix-close-obsolete-pr.sh b/scripts/fix-close-obsolete-pr.sh index 2a8ef006..554c979d 100755 --- a/scripts/fix-close-obsolete-pr.sh +++ b/scripts/fix-close-obsolete-pr.sh @@ -16,7 +16,7 @@ REPO_NWO=$(echo "$URL" | awk -F'/' '{print $4"/"$5}') DIFF=$(gh pr diff "$URL" 2>/dev/null) PR_USES=$(echo "$DIFF" | grep -E "^\+[[:space:]]+uses:[[:space:]]+[^@[:space:]]+@[0-9a-f]{40}" || true) if [ -z "$PR_USES" ]; then - echo "SKIP: PR has no `+ uses: …@` lines" + echo "SKIP: PR has no \`+ uses: …@\` lines" exit 0 fi