You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Rowan Bohde 407b6e6dfc
allow the actions user to login via the jwt token (#32527)
We have some actions that leverage the Gitea API that began receiving
401 errors, with a message that the user was not found. These actions
use the `ACTIONS_RUNTIME_TOKEN` env var in the actions job to
authenticate with the Gitea API. The format of this env var in actions
jobs changed with go-gitea/gitea/pull/28885 to be a JWT (with a
corresponding update to `act_runner`) Since it was a JWT, the OAuth
parsing logic attempted to parse it as an OAuth token, and would return
user not found, instead of falling back to look up the running task and
assigning it to the actions user.

Make ACTIONS_RUNTIME_TOKEN in action runners could be used,
attempting to parse Oauth JWTs. The code to parse potential old
`ACTION_RUNTIME_TOKEN` was kept in case someone is running an older
version of act_runner that doesn't support the Actions JWT.
3 months ago
..
actions allow the actions user to login via the jwt token (#32527) 3 months ago
agit Add reviewers selection to new pull request (#32403) 4 months ago
asymkey Fix some pending problems (#29985) 11 months ago
attachment Include file extension checks in attachment API (#32151) 4 months ago
auth allow the actions user to login via the jwt token (#32527) 3 months ago
automerge Add new event commit status creation and webhook implementation (#27151) 4 months ago
context Remove unnecessary code (#32560) 3 months ago
contexttest Check if reverse proxy is correctly configured (#30890) 10 months ago
convert Fix milestone deadline and date related problems (#32339) 4 months ago
cron Support repo license (#24872) 5 months ago
doctor Add a doctor check to disable the "Actions" unit for mirrors (#32424) 4 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
feed Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 4 months ago
forms Refactor push mirror find and add check for updating push mirror (#32539) 3 months ago
gitdiff Reduce integration test overhead (#32475) 3 months ago
indexer Update issue indexer after merging a PR (#30715) 10 months ago
issue Add reviewers selection to new pull request (#32403) 4 months ago
lfs Fix LFS route mock, realm, middleware names (#32488) 3 months ago
mailer Add reviewers selection to new pull request (#32403) 4 months ago
markup Enable more `revive` linter rules (#30608) 10 months ago
migrations Support migrating GitHub/GitLab PR draft status (#32242) 4 months ago
mirror Refactor push mirror find and add check for updating push mirror (#32539) 3 months ago
notify Add new event commit status creation and webhook implementation (#27151) 4 months ago
oauth2_provider Use user.FullName in Oauth2 id_token response (#32542) 3 months ago
org Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
packages Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 4 months ago
projects Add issue comment when moving issues from one column to another of the project (#29311) 7 months ago
pull Add reviewers selection to new pull request (#32403) 4 months ago
release Trim title before insert/update to database to match the size requirements of database (#32498) 3 months ago
repository Refactor find forks and fix possible bugs that weak permissions check (#32528) 3 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Add warn log when deleting inactive users (#32318) 4 months ago
webhook Only provide the commit summary for Discord webhook push events (#32432) 4 months ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 6 months ago