File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125125 timeout-minutes : 15
126126 needs : build
127127 runs-on : windows-latest
128+ # TODO: Why do we have an environment for this?
128129 environment : signing
129130 # TODO: Can we move the additional permissions into the step that needs it (assuming there's only one)?
130131 permissions :
@@ -179,19 +180,8 @@ jobs:
179180 if : ${{ github.event_name != 'pull_request' }}
180181 environment : azdo
181182 runs-on : ubuntu-latest
182- # TODO: Can we move the additional permissions into the step that needs it (assuming there's only one)?
183- # TODO: I suspect this is redundant, can it be removed?
184- permissions :
185- id-token : write
186183
187184 steps :
188- # TODO: Why do we need to fetch sources in this job?
189- - uses : actions/checkout@v4
190- # TODO: Why do we need a token here? I suspect it only applies to private repositories.
191- # https://learn.microsoft.com/en-us/azure/devops/artifacts/quickstarts/github-actions?view=azure-devops&pivots=managed-identity#authenticate-with-azure-pipelines
192- with :
193- token : ${{ secrets.GITHUB_TOKEN }}
194-
195185 - name : Azure login
196186 uses : azure/login@v2
197187 with :
You can’t perform that action at this time.
0 commit comments