File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,23 @@ jobs:
2121 init :
2222 name : Initialize the release
2323 runs-on : ubuntu-24.04
24+ permissions :
25+ contents : read
26+ id-token : write
2427 outputs :
2528 version : ${{ steps.init.outputs.version }}
2629 tag_name : ${{ steps.init.outputs.tag_name }}
2730 hubris_app_dirs : ${{ steps.init.outputs.hubris_app_dirs }}
2831 steps :
32+ - &brussels-token
33+ name : Get a token to fetch Brussels
34+ id : brussels-token
35+ uses : oxidecomputer/oidcx-action@main
36+ with :
37+ service : github
38+ repositories : oxidecomputer/brussels
39+ permissions : contents:read,actions:read
40+
2941 - &download-brussels
3042 name : Download Brussels
3143 run : |
3749 sudo mv brussels /usr/local/bin
3850 sudo chmod +x /usr/local/bin/brussels
3951 env :
40- GH_TOKEN : ${{ secrets.BRUSSELS_TEMPORARY_TOKEN }}
52+ GITHUB_TOKEN : ${{ steps.brussels-token.outputs.access_token }}
4153 BRUSSELS_RUN_ID : ${{ github.event.inputs.brussels-run-id }}
4254
4355 - id : init
You can’t perform that action at this time.
0 commit comments