1919 if : github.event.pull_request.state == 'open'
2020 name : Privileged Checkout
2121 with :
22- token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
22+ token : ${{ secrets.REPO_ACCESS_TOKEN }}
2323 repository : ${{ github.event.pull_request.head.repo.full_name }}
2424 # Check out the PR commit, not the merge commit
2525 # Use `ref` instead of `sha` to enable pushing back to `ref`
3030 if : github.event.pull_request.state == 'open'
3131 shell : bash
3232 env :
33- GITHUB_TOKEN : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
33+ GITHUB_TOKEN : " ${{ secrets.REPO_ACCESS_TOKEN }}"
3434 run : make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true -f /build-harness/templates/Makefile.build-harness pr/auto-format/host
3535
3636 # Commit changes (if any) to the PR branch
@@ -54,10 +54,10 @@ jobs:
5454 [[ $SENDER == "cloudpossebot" ]] || git push
5555 # Set status to fail, because the push should trigger another status check,
5656 # and we use success to indicate the checks are finished.
57- printf "::set-output name=%s::%s\n" "changed" "true "
57+ echo "changed=true" >> "$GITHUB_OUTPUT "
5858 exit 1
5959 else
60- printf "::set-output name=%s::%s\n" "changed" "false "
60+ echo "changed=false" >> "$GITHUB_OUTPUT "
6161 echo "No changes detected"
6262 fi
6363
7575 contains(' 37929162 29139614 11232728 ', format(' {0} ', github.event.pull_request.user.id))
7676 && steps.commit.outputs.changed == 'false' && github.event.pull_request.state == 'open'
7777 with :
78- token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
78+ token : ${{ secrets.REPO_ACCESS_TOKEN }}
7979 repository : cloudposse/actions
8080 event-type : test-command
8181 client-payload : |-
0 commit comments