gitforge/services/actions
forgejo-backport-action a8c120569a [v16.0/forgejo] fix: add forgejo_runtime_token to actions context (#13458)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/13424

Forgejo only added the legacy `gitea_runtime_token`.

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. All work and communication must conform to Forgejo's [AI Agreement](https://codeberg.org/forgejo/governance/src/branch/main/AIAgreement.md). There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests for Go changes

(can be removed for JavaScript changes)

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
  - [x] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I ran...
  - [x] `make pr-go` before pushing

### Tests for JavaScript changes

(can be removed for Go changes)

- I added test coverage for JavaScript changes...
  - [ ] in `web_src/js/*.test.js` if it can be unit tested.
  - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)).

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [ ] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [ ] This change will be noticed by a Forgejo user or admin (feature, bug fix, performance, etc.). I suggest to include a release note for this change.
- [x] This change is not visible to a Forgejo user or admin (refactor, dependency upgrade, etc.). I think there is no need to add a release note for this change.

*The decision if the pull request will be shown in the release notes is up to the mergers / release team.*

The content of the `release-notes/<pull request number>.md` file will serve as the basis for the release notes. If the file does not exist, the title of the pull request will be used instead.

Co-authored-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13458
Reviewed-by: Andreas Ahlenstorf <aahlenst@noreply.codeberg.org>
2026-07-15 15:54:49 +02:00
..
Test_checkJobsOfRun fix: update statuses in phases to prevent out of order updates from stalling workflows (#12685) 2026-05-25 05:20:23 +02:00
Test_prepareJobForEmitting feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
Test_tryHandleWorkflowCallOuterJob fix: superfluous increment of ActionTask attempt breaks job view (#11956) 2026-04-03 16:05:09 +02:00
TestActions_CancelOrApproveRun
TestActions_consistencyCheckRun fix: prevent jobs with unknown needs from running (#12046) 2026-04-10 15:40:08 +02:00
TestActionsNotifier_IsTrusted
TestActionsTrust_GetPullRequestUserIsTrustedWithActions
TestCancelAbandonedJobs
TestCancelPreviousJobs
TestCancelPreviousWithConcurrencyGroup
TestCreateCommitStatus
TestDeleteJobsOfRun feat: make it possible to remove workflow runs (#12478) 2026-05-11 16:02:36 +02:00
TestDeleteRun feat: make it possible to remove workflow runs (#12478) 2026-05-11 16:02:36 +02:00
TestDeleteTask fix: do not try to remove task logs that don't exist (#13040) 2026-06-11 02:03:05 +02:00
TestExpandLocalReusableWorkflows
TestGetSecretsOfJob
TestRerun_RerunAllJobs feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
TestRerun_RerunJob feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
TestServiceActions_startTask feat: support timezone in scheduled workflows (#11851) 2026-04-04 18:23:06 +02:00
TestServicesActions_TransferLingeringLogs
auth.go feat: expose immutable identifiers in Forgejo Actions JWTs (#12355) 2026-05-03 15:46:58 +02:00
auth_test.go feat: expose immutable identifiers in Forgejo Actions JWTs (#12355) 2026-05-03 15:46:58 +02:00
cleanup.go fix: do not try to remove task logs that don't exist (#13040) 2026-06-11 02:03:05 +02:00
cleanup_test.go fix: do not try to remove task logs that don't exist (#13040) 2026-06-11 02:03:05 +02:00
clear_tasks.go
clear_tasks_test.go
commit_status.go feat: mark skipped checks as skipped (#12606) 2026-05-17 18:00:49 +02:00
commit_status_test.go
context.go [v16.0/forgejo] fix: add forgejo_default_actions_url to actions context (#13411) 2026-07-12 05:34:10 +02:00
context_test.go [v16.0/forgejo] fix: add forgejo_default_actions_url to actions context (#13411) 2026-07-12 05:34:10 +02:00
download.go chore: make use of go1.26 features (#12369) 2026-05-01 22:51:48 +02:00
init.go
interface.go
job.go feat: make it possible to remove workflow runs (#12478) 2026-05-11 16:02:36 +02:00
job_emitter.go fix: jobs with ${{ needs.x.[...] }} inherit the skip state of job x (#13174) 2026-06-23 21:19:11 +02:00
job_emitter_test.go feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
job_logs.go feat(api): expose action job + run logs via REST (#12666) 2026-05-30 01:45:32 +02:00
job_logs_test.go feat(api): expose action job + run logs via REST (#12666) 2026-05-30 01:45:32 +02:00
job_test.go feat: make it possible to remove workflow runs (#12478) 2026-05-11 16:02:36 +02:00
log.go
log_test.go
main_test.go
notifier.go feat: add warnings for usage of unsupported permissions: in Actions workflows (#13164) 2026-06-23 21:30:19 +02:00
notifier_helper.go [v16.0/forgejo] fix: detect schedules after merge if merged branch remains (#13344) 2026-07-08 04:07:16 +02:00
notifier_helper_test.go feat: add warnings for usage of unsupported permissions: in Actions workflows (#13164) 2026-06-23 21:30:19 +02:00
rerun.go feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
rerun_test.go feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
reusable_workflows.go
reusable_workflows_test.go
run.go feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
run_test.go feat: enable manual prioritization of workflow runs (#13045) 2026-06-18 00:58:33 +02:00
schedule_tasks.go feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
schedule_tasks_test.go feat: support timezone in scheduled workflows (#11851) 2026-04-04 18:23:06 +02:00
secret.go feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
secret_test.go
task.go [v16.0/forgejo] fix: add forgejo_runtime_token to actions context (#13458) 2026-07-15 15:54:49 +02:00
task_test.go [v16.0/forgejo] fix: add forgejo_runtime_token to actions context (#13458) 2026-07-15 15:54:49 +02:00
trust.go
trust_test.go feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
variables.go feat: allow renaming and replacing secrets (#11732) 2026-03-23 03:30:02 +01:00
variables_test.go
workflows.go feat: evaluate action job's if on the server-side when possible (#13030) 2026-06-16 00:02:57 +02:00
workflows_test.go