GHA/curl-for-win: pass GH token to the containers

To avoid rate limits when accessing GH APIs during the build.

Aiming to avoid (while trying to retrieve a file timestamp):
```
++ [[ 2026-02-11-1a84aee6387d2f9c9531c655edeea4a80aa0fcfa =~ (.+)-([a-f0-9]{40,}) ]]
++ ver=2026-02-11
++ commit=1a84aee6387d2f9c9531c655edeea4a80aa0fcfa
++ set +x
curl: (22) The requested URL returned error: 403
curl: (22) The requested URL returned error: 403
curl: (22) The requested URL returned error: 403
curl: (22) The requested URL returned error: 403
[...]
```
Ref: https://github.com/curl/curl/actions/runs/23598912140/job/68723120977?pr=21104

Follow-up to:
a26898fe48
17f2fb3ead
6dd6e47e98
b461404b5a

Closes #21105
This commit is contained in:
Viktor Szakats 2026-03-26 15:23:10 +01:00
parent 20914e3753
commit 128c252975
No known key found for this signature in database

View File

@ -32,6 +32,7 @@ concurrency:
permissions: {}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
CW_NOGET: 'curl trurl'
CW_MAP: '0'
CW_JOBS: '5'