diff --git a/scripts/github/update/open_pr.sh b/scripts/github/update/open_pr.sh index 1b169c91b0..4d92cfe614 100755 --- a/scripts/github/update/open_pr.sh +++ b/scripts/github/update/open_pr.sh @@ -79,6 +79,8 @@ if [[ -n "${DUPLICATE_PR}" ]]; then exit 0 fi +git config --local --unset-all "http.https://github.com/.extraheader" 2>/dev/null || true +git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${REPO}.git" git push --force origin "${BRANCH}" PR_NUMBER="$( diff --git a/scripts/lint/action.sh b/scripts/lint/action.sh index 2aa82bcbf1..f9fbd8683a 100755 --- a/scripts/lint/action.sh +++ b/scripts/lint/action.sh @@ -8,4 +8,6 @@ REPO_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)" cd "${REPO_ROOT}" -actionlint +actionlint \ + -ignore 'input "client-id" is not defined in action "actions/create-github-app-token' \ + -ignore 'missing input "app-id" which is required by action "actions/create-github-app-token'