diff --git a/.github/workflows/sync-actions-forks.yml b/.github/workflows/sync-actions-forks.yml index f1cee17..af30302 100644 --- a/.github/workflows/sync-actions-forks.yml +++ b/.github/workflows/sync-actions-forks.yml @@ -25,6 +25,6 @@ jobs: GH_TOKEN: ${{ secrets.GH_CI_USER_TOKEN }} run: | gh repo list geonet --no-archived --fork --json nameWithOwner --jq '.[].nameWithOwner' \ - | xargs -I{} gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/{} --template '{{.full_name}},{{.default_branch}}{{"\n"}}' \ + | xargs -I{} gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/{}/merge-upstream --template '{{.full_name}},{{.default_branch}}{{"\n"}}' \ | xargs -I{} hack/update-forks.sh {} shell: bash