Follow GITHUB_REPO_OWNER/GITHUB_REPO_NAME for Link tag instead of
hardcoding to openwrt/openwrt.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
exit 9
fi
- # Add to each commit Link: https://github.com/openwrt/openwrt/pull/$PRID
+ # Add to each commit Link: https://github.com/$REPO/pull/$PRID
if ! $GIT filter-repo --message-callback "
- return message + b\"Link: https://github.com/openwrt/openwrt/pull/$PRID\"
+ return message + b\"Link: https://github.com/$REPO/pull/$PRID\"
" --refs $BRANCH..$LOCAL_PR_BRANCH; then
echo "Failed to add Link: Pull Request tag" >&2
exit 9