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/routers/api/actions
js6pak 4f5a2117c3
Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759)
Include `GITHUB_TOKEN`/`GITEA_TOKEN` secrets for actions triggered by
pull requests

This makes it consistent with the environment variables which you can
already access

```shell
echo env: $GITHUB_TOKEN
echo expression: ${{ secrets.GITHUB_TOKEN }}
```
before

![image](https://github.com/go-gitea/gitea/assets/35262707/b6f750f6-3995-40f0-b8aa-df01e7997c37)
after

![image](https://github.com/go-gitea/gitea/assets/35262707/ab74464b-7638-458a-afd5-f39e6101d2cf)

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
..
ping Implement actions (#21937) 2 years ago
runner Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759) 1 year ago
actions.go Refactor web package and context package (#25298) 2 years ago
artifacts.go Actions Artifacts support uploading multiple files and directories (#24874) 2 years ago
artifacts_chunks.go fix artifact merging chunks path with correct slash on Windows (#26400) 2 years ago
artifacts_utils.go Actions Artifacts support uploading multiple files and directories (#24874) 2 years ago