File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,15 +23,16 @@ jobs:
2323 outputs :
2424 frozen : false
2525 steps :
26- - name : Get token
27- uses : DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
28- id : octo-sts
29- with :
30- scope : DataDog/dd-trace-rs
31- policy : dd-octo-sts-admin
26+ # - name: Get token
27+ # uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
28+ # id: octo-sts
29+ # with:
30+ # scope: DataDog/dd-trace-rs
31+ # policy: self.dispatch.create-pr
3232 - name : Freeze branch
3333 run : |
34- gh auth login --with-token ${{ steps.octo-sts.outputs.token }}
34+ # gh auth login --with-token ${{ steps.octo-sts.outputs.token }}
35+ gh auth login --with-token ${{ secrets.GITHUB_TOKEN }}
3536
3637 gh api -X GET -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" \
3738 /repos/DataDog/dd-trace-rs/branches/${{ env.BRANCH_NAME }}/protection
4647 # -f '{"restrictions": null}' \
4748 echo "frozen=false" >> $GITHUB_OUTPUT
4849 env :
49- GITHUB_TOKEN : ${{ steps.octo-sts.outputs.token }}
50+ # GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
51+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5052
5153 # make-release-pr:
5254 # permissions:
You can’t perform that action at this time.
0 commit comments