@@ -2,13 +2,6 @@ name: '[Release Proposal]'
2
2
3
3
on :
4
4
workflow_dispatch :
5
- inputs :
6
- authentication :
7
- type : choice
8
- description : Retrieve GitHub token from
9
- options :
10
- - github-app
11
- - octo-sts
12
5
schedule :
13
6
- cron : 0 5 * * *
14
7
@@ -17,39 +10,7 @@ concurrency:
17
10
cancel-in-progress : false
18
11
19
12
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 :
53
14
strategy :
54
15
fail-fast : false
55
16
matrix :
58
19
permissions :
59
20
id-token : write
60
21
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>
67
22
- uses : DataDog/dd-octo-sts-action@08f2144903ced3254a3dafec2592563409ba2aa0 # v1.0.1
68
23
id : octo-sts
69
24
with :
0 commit comments