Skip to content

Commit 0c569fd

Browse files
authored
Use the Astral simple token service action (#4794)
Use `astral-sh/github-actions/simple-token-service` for GitHub App token exchanges. Keep each request’s endpoint, audience, repository scope, and permissions unchanged.
1 parent 805d35b commit 0c569fd

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/notify-dependents.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: "Get pre-commit token"
2929
id: token
30-
uses: open-security-tools/ost-simple-sts@88f85462c7e9c9e2fb2745bd5ce4ee163aec0420 # v0.0.5
30+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
3131
with:
3232
exchange-url: ${{ secrets.RELEASES_STS_API_URL }}/exchange
3333
audience: ${{ secrets.RELEASES_STS_API_URL }}

‎.github/workflows/publish-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575

7676
- name: "Get docs token"
7777
id: token
78-
uses: open-security-tools/ost-simple-sts@88f85462c7e9c9e2fb2745bd5ce4ee163aec0420 # v0.0.5
78+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
7979
with:
8080
exchange-url: ${{ secrets.RELEASES_STS_API_URL }}/exchange
8181
audience: ${{ secrets.RELEASES_STS_API_URL }}

‎.github/workflows/publish-versions.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: "Get versions token"
3737
id: token
38-
uses: open-security-tools/ost-simple-sts@88f85462c7e9c9e2fb2745bd5ce4ee163aec0420 # v0.0.5
38+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
3939
with:
4040
exchange-url: ${{ secrets.RELEASES_STS_API_URL }}/exchange
4141
audience: ${{ secrets.RELEASES_STS_API_URL }}

‎.github/workflows/release-prepare.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: "Get ty token"
4040
id: token
41-
uses: open-security-tools/ost-simple-sts@974a63a2daaaa40f7c6dec40d334f3da4421469e
41+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
4242
with:
4343
exchange-url: ${{ secrets.STS_API_URL }}/exchange
4444
audience: ${{ secrets.STS_API_URL }}

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ jobs:
421421
artifacts/*.tar.gz
422422
- name: Get release token
423423
id: release-token
424-
uses: open-security-tools/ost-simple-sts@974a63a2daaaa40f7c6dec40d334f3da4421469e
424+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
425425
with:
426426
exchange-url: ${{ secrets.STS_API_URL }}/exchange
427427
audience: ${{ secrets.STS_API_URL }}

‎.github/workflows/sync-ty-security.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Get ty-security token
4747
id: token
48-
uses: open-security-tools/ost-simple-sts@974a63a2daaaa40f7c6dec40d334f3da4421469e
48+
uses: astral-sh/github-actions/simple-token-service@eb81cf4d13127c3f9539f621c17e4c65327636c8
4949
with:
5050
exchange-url: ${{ secrets.STS_API_URL }}/exchange
5151
audience: ${{ secrets.STS_API_URL }}

0 commit comments

Comments
 (0)