Skip to content

Commit de27c1f

Browse files
authored
move release proposal workflow entirely to octo-sts (#6158)
1 parent 1bd2860 commit de27c1f

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

.github/workflows/release-proposal.yml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: '[Release Proposal]'
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
authentication:
7-
type: choice
8-
description: Retrieve GitHub token from
9-
options:
10-
- github-app
11-
- octo-sts
125
schedule:
136
- cron: 0 5 * * *
147

@@ -17,39 +10,7 @@ concurrency:
1710
cancel-in-progress: false
1811

1912
jobs:
20-
# TODO: Remove this strategy entirely once Octo-STS works properly.
21-
create-proposal-github-app:
22-
if: inputs.authentication == 'github-app'
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
release-line: ['5']
27-
runs-on: ubuntu-latest
28-
permissions:
29-
contents: read
30-
pull-requests: read
31-
steps:
32-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
33-
id: app-token
34-
with:
35-
app-id: ${{ vars.APP_ID }}
36-
private-key: ${{ secrets.PRIVATE_KEY }}
37-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38-
with:
39-
fetch-depth: 0
40-
token: ${{ steps.app-token.outputs.token }}
41-
- uses: ./.github/actions/node
42-
with:
43-
version: ''
44-
- uses: ./.github/actions/install/branch-diff
45-
with:
46-
token: ${{ secrets.GITHUB_TOKEN }}
47-
- run: node scripts/release/proposal ${{ matrix.release-line }} -y ${{ github.event_name == 'workflow_dispatch' && '-f' || '' }}
48-
env:
49-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
50-
51-
create-proposal-octo-sts:
52-
if: inputs.authentication == 'octo-sts'
13+
create-proposal:
5314
strategy:
5415
fail-fast: false
5516
matrix:
@@ -58,12 +19,6 @@ jobs:
5819
permissions:
5920
id-token: write
6021
steps:
61-
#<TESTING> Only required for debugging, remove afterwards
62-
- name: Debug OIDC Claims
63-
uses: github/actions-oidc-debugger@36a60c31d7af9b718b4ca7152ba24229a15241ad # main
64-
with:
65-
audience: "octo-debugger"
66-
#</TESTING>
6722
- uses: DataDog/dd-octo-sts-action@08f2144903ced3254a3dafec2592563409ba2aa0 # v1.0.1
6823
id: octo-sts
6924
with:

0 commit comments

Comments
 (0)