aboutsummaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authorChristopherHX <christopher.homberger@web.de>2024-02-02 15:25:59 +0100
committerGitHub <noreply@github.com>2024-02-02 14:25:59 +0000
commita9bc590d5d10b97bd8aa050ffb720e141a600064 (patch)
tree691cc0c9c13d67d8c738538bc095617477358743 /snap
parent8f9f0e4ab29c5b95b113c5382e8dc3e42e55a285 (diff)
downloadgitea-a9bc590d5d10b97bd8aa050ffb720e141a600064.tar.gz
gitea-a9bc590d5d10b97bd8aa050ffb720e141a600064.zip
Add artifacts v4 jwt to job message and accept it (#28885)
This change allows act_runner / actions_runner to use jwt tokens for `ACTIONS_RUNTIME_TOKEN` that are compatible with actions/upload-artifact@v4. The official Artifact actions are now validating and extracting the jwt claim scp to get the runid and jobid, the old artifact backend also needs to accept the same token jwt. --- Related to #28853 I'm not familar with the auth system, maybe you know how to improve this I have tested - the jwt token is a valid token for artifact uploading - the jwt token can be parsed by actions/upload-artifact@v4 and passes their scp claim validation Next steps would be a new artifacts@v4 backend. ~~I'm linking the act_runner change soonish.~~ act_runner change to make the change effective and use jwt tokens <https://gitea.com/gitea/act_runner/pulls/471>
Diffstat (limited to 'snap')
0 files changed, 0 insertions, 0 deletions