Description
I have a private Repo with an example action.
Its totaly clear to me, that the runner can not clone this private repo without authentication.
So i use the checkout action with a personal access token and clone the action repo to the runner.
After that i try to run the action as follwing:
- name: Check out repository code
uses: actions/checkout@v3
with:
token: ${{ secrets.token }}
- name: Hello world action step
id: hello
uses: ./
But this does not work.
I have seen, that the Github docs show exactly this tooling for private repos.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-an-action-inside-a-different-private-repository-than-the-workflow
Also i cant find any clear instructions or documentation, how to deal with private repos in actions on gitea.
Gitea Version
1.20.0
Operating System
Debian Linux
How are you running Gitea?
Running via docker in an debian Linux hosted inside a VPS (LXC)
Description
I have a private Repo with an example action.
Its totaly clear to me, that the runner can not clone this private repo without authentication.
So i use the checkout action with a personal access token and clone the action repo to the runner.
After that i try to run the action as follwing:
But this does not work.
I have seen, that the Github docs show exactly this tooling for private repos.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-an-action-inside-a-different-private-repository-than-the-workflow
Also i cant find any clear instructions or documentation, how to deal with private repos in actions on gitea.
Gitea Version
1.20.0
Operating System
Debian Linux
How are you running Gitea?
Running via docker in an debian Linux hosted inside a VPS (LXC)