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/actions
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.
2 months ago
..
auth.go allow the actions user to login via the jwt token (#32527) 2 months ago
auth_test.go Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 10 months ago
cleanup.go Clear up old Actions logs (#31735) 6 months ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
commit_status.go Add new event commit status creation and webhook implementation (#27151) 3 months ago
init.go Move notification interface to services layer (#26915) 1 year ago
interface.go feat(api): enhance Actions Secrets Management API for repository (#30656) 9 months ago
job_emitter.go Improve the handling of `jobs.<job_id>.if` (#31070) 8 months ago
job_emitter_test.go Improve the handling of `jobs.<job_id>.if` (#31070) 8 months ago
notifier.go Fix actions notify bug (#31866) 5 months ago
notifier_helper.go Update scheduled tasks even if changes are pushed by "ActionsUser" (#32246) 4 months ago
rerun.go Fix bugs in rerunning jobs (#29955) 11 months ago
rerun_test.go Fix bugs in rerunning jobs (#29955) 11 months ago
schedule_tasks.go Interpolate runs-on with variables when scheduling tasks (#30640) 9 months ago
variables.go Add API for `Variables` (#29520) 10 months ago