2222 if : ${{ github.repository_owner == 'curl' }}
2323 runs-on : ' ubuntu-latest'
2424 timeout-minutes : 30
25+ permissions :
26+ id-token : write
27+ attestations : write
2528 steps :
2629 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2730 with :
4851
4952 - name : ' list dependencies'
5053 run : cat urls.txt *-version-*.txt || true
54+ - uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
55+ with :
56+ subject-path : ' curl-*-*-*/curl*, *-*-linux*.*, urls.txt'
5157 - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
5258 with :
5359 name : ' curl-linux-glibc-daily-tool'
6571 if : ${{ github.repository_owner == 'curl' }}
6672 runs-on : ' ubuntu-latest'
6773 timeout-minutes : 30
74+ permissions :
75+ id-token : write
76+ attestations : write
6877 steps :
6978 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7079 with :
8998
9099 - name : ' list dependencies'
91100 run : cat urls.txt *-version-*.txt || true
101+ - uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
102+ with :
103+ subject-path : ' curl-*-*-*/curl*, *-*-linux*.*, urls.txt'
92104 - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
93105 with :
94106 name : ' curl-linux-musl-daily-tool'
@@ -106,6 +118,9 @@ jobs:
106118 if : ${{ github.repository_owner == 'curl' }}
107119 runs-on : ' macos-latest'
108120 timeout-minutes : 30
121+ permissions :
122+ id-token : write
123+ attestations : write
109124 env :
110125 CW_JOBS : ' 4'
111126 steps :
@@ -123,6 +138,9 @@ jobs:
123138
124139 - name : ' list dependencies'
125140 run : cat urls.txt *-version-*.txt || true
141+ - uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
142+ with :
143+ subject-path : ' curl-*-universal-*/curl*, *-*-macos*.*, urls.txt'
126144 - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
127145 with :
128146 name : ' curl-macos-universal-daily-tool'
@@ -140,6 +158,9 @@ jobs:
140158 if : ${{ github.repository_owner == 'curl' }}
141159 runs-on : ' ubuntu-latest'
142160 timeout-minutes : 30
161+ permissions :
162+ id-token : write
163+ attestations : write
143164 steps :
144165 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
145166 with :
@@ -172,6 +193,9 @@ jobs:
172193 name : ' curl-windows-daily-tool'
173194 retention-days : 42
174195 path : curl-*-*-*/curl*
196+ - uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
197+ with :
198+ subject-path : ' *-*-mingw*.*, urls.txt'
175199 - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
176200 with :
177201 name : ' curl-windows-daily'
0 commit comments