I have a gitea instance in local domain. I have createad a custom action in repo “emb_tools/gitea-actions-delete-abandoned-branches@v1” and to use this action in other local repos on the same instance of Gitea. But when i try to run this action, it always says that “authentication required” in set up job step.
All my repos need to authenticate, so i provide Gitea api token with full admin access.
I use this article to do this - Workflow syntax for GitHub Actions - GitHub Docs
The action i want to run is described like this:
name: Quick tests against our own repository
on:
push:
jobs:
cleanup_old_branches:
runs-on: ubuntu
name: Testing Actions
steps:
- name: Delete git repository old branches
uses: https://gitea.devos.club/emb_tools/gitea-actions-delete-abandoned-branches@v1
id: delete_stuff
with:
repository: https://gitea.devos.club/
ref: v1
token: ${{ secrets.GIT_ACCESS_TOKEN }}
path: ./.github/actions/my-private-repo