diff --git a/.github/workflows/pr-targeted-change-detection.yml b/.github/workflows/pr-targeted-change-detection.yml index 5ab4f789..20278c4f 100644 --- a/.github/workflows/pr-targeted-change-detection.yml +++ b/.github/workflows/pr-targeted-change-detection.yml @@ -12,7 +12,6 @@ jobs: name: print-token environment: dev runs-on: ubuntu-latest - steps: - name: Check out code uses: actions/checkout@v4 @@ -20,7 +19,7 @@ jobs: - name: Get registration token id: getRegToken run: | - curl -X POST -H \"Accept: application/vnd.github.v3+json\" -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' https://api.github.com/repos/myprofile/myrepo/actions/runners/registration-token + curl -X POST -H \"Accept: application/vnd.github.v3+json\" -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' https://api.github.com/repos/${{ github.repository }}/actions/runners/registration-token auto-comment: runs-on: ubuntu-latest