diff --git a/.github/workflows/update-landscape-tooling.yml b/.github/workflows/update-landscape-tooling.yml index c1ebc9764..fbe2dfd01 100644 --- a/.github/workflows/update-landscape-tooling.yml +++ b/.github/workflows/update-landscape-tooling.yml @@ -14,8 +14,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - curl -X POST \ + curl -L \ + -X POST \ -H "Accept: application/vnd.github.v3+json" \ - -H "Authorization: token $GITHUB_TOKEN" \ + -H "Authorization: Bearer $PERSONAL_ACCESS_TOKEN" \ https://api.github.com/repos/darhkvoyd/landscape/actions/workflows/update-landscape-tooling.yml/dispatches \ -d '{"ref":"automate-landscape-tooling-data"}'