GitHub Action: make fix-all (v4) (#8097)

Can be triggered by writing a comment: `/fix-all`
Follow-up of:
* https://github.com/FreshRSS/FreshRSS/pull/8094
* https://github.com/FreshRSS/FreshRSS/pull/8095
* https://github.com/FreshRSS/FreshRSS/pull/8096

Fix to use the proper remote
This commit is contained in:
Alexandre Alapetite
2025-10-12 14:05:38 +02:00
committed by GitHub
parent 21d261f9f0
commit 2975c19574

View File

@@ -111,8 +111,8 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
# Get PR info
PR_JSON=$(gh pr view ${{ github.event.issue.number }} --json headRepository,headRefName,maintainerCanModify)
# Get PR info from the base repository
PR_JSON=$(gh pr view ${{ github.event.issue.number }} --repo ${{ github.repository }} --json headRepository,headRefName,maintainerCanModify)
HEAD_REPO=$(echo "$PR_JSON" | jq -r '.headRepository.nameWithOwner')
HEAD_BRANCH=$(echo "$PR_JSON" | jq -r '.headRefName')
CAN_MODIFY=$(echo "$PR_JSON" | jq -r '.maintainerCanModify')