19
19
if : github.event.pull_request.state == 'open'
20
20
name : Privileged Checkout
21
21
with :
22
- token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
22
+ token : ${{ secrets.REPO_ACCESS_TOKEN }}
23
23
repository : ${{ github.event.pull_request.head.repo.full_name }}
24
24
# Check out the PR commit, not the merge commit
25
25
# Use `ref` instead of `sha` to enable pushing back to `ref`
30
30
if : github.event.pull_request.state == 'open'
31
31
shell : bash
32
32
env :
33
- GITHUB_TOKEN : " ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
33
+ GITHUB_TOKEN : " ${{ secrets.REPO_ACCESS_TOKEN }}"
34
34
run : make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true -f /build-harness/templates/Makefile.build-harness pr/auto-format/host
35
35
36
36
# Commit changes (if any) to the PR branch
@@ -54,10 +54,10 @@ jobs:
54
54
[[ $SENDER == "cloudpossebot" ]] || git push
55
55
# Set status to fail, because the push should trigger another status check,
56
56
# 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 "
58
58
exit 1
59
59
else
60
- printf "::set-output name=%s::%s\n" "changed" "false "
60
+ echo "changed=false" >> "$GITHUB_OUTPUT "
61
61
echo "No changes detected"
62
62
fi
63
63
75
75
contains(' 37929162 29139614 11232728 ', format(' {0} ', github.event.pull_request.user.id))
76
76
&& steps.commit.outputs.changed == 'false' && github.event.pull_request.state == 'open'
77
77
with :
78
- token : ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
78
+ token : ${{ secrets.REPO_ACCESS_TOKEN }}
79
79
repository : cloudposse/actions
80
80
event-type : test-command
81
81
client-payload : |-
0 commit comments