Skip to content

Commit

Permalink
Merge pull request #1682 from Kobzol/fix-dry-run
Browse files Browse the repository at this point in the history
Add explicit `--repo` argument in dry-run workflow
  • Loading branch information
marcoieni authored Mar 6, 2025
2 parents cde5a40 + a76d12b commit ad844f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ jobs:
# --edit-last doesn't work if there is no previous comment, so we have to figure out
# if we should create a comment or not
if gh issue view ${PR} --json comments \
if gh issue view ${PR} --repo rust-lang/team --json comments \
--jq '.comments.[].author.login' | grep --quiet --fixed-strings "github-actions"; then
echo "Editing comment"
gh pr comment ${PR} --body-file comment.txt --edit-last
gh pr comment ${PR} --repo rust-lang/team --body-file comment.txt --edit-last
else
echo "Creating new comment"
gh pr comment ${PR} --body-file comment.txt
gh pr comment ${PR} --repo rust-lang/team --body-file comment.txt
fi

0 comments on commit ad844f2

Please sign in to comment.