gitea/models/fixtures
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.
2024-11-20 15:24:09 +00:00
..
access_token.yml
access.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
action_artifact.yml Add artifacts test fixture (#30300) 2024-11-01 10:29:54 +08:00
action_run_job.yml Actions Artifacts v4 backend (#28965) 2024-03-02 09:12:17 +00:00
action_run.yml Actions Artifacts v4 backend (#28965) 2024-03-02 09:12:17 +00:00
action_runner_token.yml
action_task.yml allow the actions user to login via the jwt token (#32527) 2024-11-20 15:24:09 +00:00
action.yml
attachment.yml
branch.yml Fix wrong display of recently pushed notification (#25812) 2024-05-21 17:00:35 +00:00
collaboration.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
comment.yml Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-01 01:58:55 +00:00
commit_status_index.yml
commit_status.yml
deploy_key.yml
email_address.yml Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
external_login_user.yml
follow.yml
gpg_key_import.yml
gpg_key.yml
hook_task.yml Store webhook event in database (#29145) 2024-03-07 23:18:38 +01:00
issue_assignees.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_index.yml Fix wrong display of recently pushed notification (#25812) 2024-05-21 17:00:35 +00:00
issue_label.yml
issue_user.yml
issue_watch.yml
issue.yml Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
label.yml
lfs_meta_object.yml Fix test fixtures for user2/lfs.git (#32477) 2024-11-12 05:41:22 +00:00
login_source.yml
milestone.yml
mirror.yml
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Limit org member view of restricted users (#32211) 2024-11-12 03:44:24 +00:00
project_board.yml Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
project_issue.yml
project.yml Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
protected_branch.yml
protected_tag.yml Protected tag is no internal server error (#30962) 2024-05-14 06:48:21 +00:00
public_key.yml
pull_request.yml Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00
reaction.yml
release.yml
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_license.yml Support repo license (#24872) 2024-10-01 15:25:08 -04:00
repo_redirect.yml
repo_topic.yml
repo_transfer.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
repo_unit.yml Allow code search by filename (#32210) 2024-10-11 23:35:04 +00:00
repository.yml Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
review.yml Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-01 01:58:55 +00:00
star.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
stopwatch.yml
system_setting.yml
team_repo.yml Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
team_unit.yml Fix wrong display of recently pushed notification (#25812) 2024-05-21 17:00:35 +00:00
team_user.yml Fix wrong display of recently pushed notification (#25812) 2024-05-21 17:00:35 +00:00
team.yml Fix wrong display of recently pushed notification (#25812) 2024-05-21 17:00:35 +00:00
topic.yml
tracked_time.yml
two_factor.yml
user_blocking.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
user_open_id.yml
user_redirect.yml
user.yml Limit org member view of restricted users (#32211) 2024-11-12 03:44:24 +00:00
watch.yml Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
webauthn_credential.yml
webhook.yml