File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/octo-sts/app/refs/heads/main/pkg/octosts/octosts.TrustPolicy.json
2+ issuer : https://token.actions.githubusercontent.com
3+ subject : repo:prefix-dev/setup-pixi:ref:refs/heads/main
4+
5+ permissions :
6+ contents : write
7+ pull_requests : write
Original file line number Diff line number Diff line change 5959 if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
6060 runs-on : ubuntu-latest
6161 permissions :
62- contents : write
63- pull-requests : write
62+ contents : read
63+ id-token : write
6464 steps :
6565 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6666
@@ -78,11 +78,17 @@ jobs:
7878 env :
7979 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8080
81+ - uses : octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
82+ id : octo-sts
83+ with :
84+ scope : ${{ github.repository }}
85+ identity : write
86+
8187 - name : Create pull request
8288 uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
8389 if : failure() && github.ref_name == 'main'
8490 with :
85- token : ${{ secrets.GITHUB_TOKEN }}
91+ token : ${{ steps.octo-sts.outputs.token }}
8692 commit-message : Reference latest Pixi version in README
8793 title : Reference latest Pixi version in README
8894 labels : ignore for release
You can’t perform that action at this time.
0 commit comments