chore: sync with WeblateOrg/meta#351
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c4abc422aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| with: | ||
| persist-credentials: false | ||
| - name: Enable Pull Request Automerge | ||
| run: gh pr merge --rebase --auto "$PR_NUMBER" |
There was a problem hiding this comment.
Restore repository context for gh pr merge
In the pull_request_target workflow, removing checkout leaves this step running in an empty $GITHUB_WORKSPACE, but the command still passes only a PR number. The GitHub CLI docs for gh pr merge show -R/--repo as the way to select a repository, and gh help environment says GH_REPO is needed for commands that otherwise operate on a local repository; without either a checkout, GH_REPO, --repo, or a full PR URL, Weblate PRs opened after this change will fail before enabling automerge.
Useful? React with 👍 / 👎.
Automated sync with WeblateOrg/meta.