File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed
Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 1+ issuer : https://token.actions.githubusercontent.com
2+
3+ subject : repo:DataDog/stratus-red-team:ref:refs/heads/main
4+
5+ claim_pattern :
6+ event_name : push
7+ ref : refs/heads/main
8+ ref_protected : " true"
9+ job_workflow_ref : DataDog/stratus-red-team/.github/workflows/release.yml@refs/heads/main
10+
11+ permissions :
12+ contents : read
13+ pull-requests : read
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ permissions:
1515jobs :
1616 deploy :
1717 permissions :
18- contents : write # for mkdocs gh-deploy to publish docs
18+ contents : write # for mkdocs gh-deploy to publish docs
1919 runs-on : ubuntu-latest
2020 steps :
2121 - name : Harden Runner
2727 github.com:443
2828 pypi.org:443
2929 *.actions.githubusercontent.com:443
30-
3130 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3231 - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
3332 with :
Original file line number Diff line number Diff line change @@ -9,18 +9,14 @@ defaults:
99 run :
1010 working-directory : ./v2
1111
12- permissions :
13- contents : read
14- pull-requests : read
15-
1612jobs :
1713 goreleaser :
1814 timeout-minutes : 120
1915 runs-on :
2016 group : Large Runner Shared Public
2117 labels : ubuntu-4-core-latest
2218 permissions :
23- pull-requests : write
19+ id-token : write
2420 steps :
2521 - name : Harden Runner
2622 uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a
4137 go.dev:443
4238 dl.google.com:443
4339 golang.org:443
44-
40+ - uses : DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
41+ id : octo-sts
42+ with :
43+ scope : DataDog/stratus-red-team
44+ policy : self.release.create-pr.sts.yml
4545 - name : Checkout
4646 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
4747 with :
5858 args : release --clean --config ../.goreleaser.yaml --timeout 600m0s --verbose --parallelism 1
5959 workdir : ./v2
6060 env :
61- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61+ GITHUB_TOKEN : ${{ steps.octo-sts.outputs.token }}
You can’t perform that action at this time.
0 commit comments