Skip to content
Discussion options

You must be logged in to vote

I reproduced that action-reference error with Act 0.2.89. Forgejo accepts the full URL, but Act expects the GitHub shorthand appleboy/ssh-action@v1.2.5.

For managed Forgejo, you can keep the checked-in workflow unchanged and generate a disposable local copy for Act. For the unquoted uses: lines in your example:

mkdir -p .act-workflows
sed 's#uses: https://github.com/#uses: #' \
  .forgejo/workflows/deploy.yml > .act-workflows/deploy.yml
act -W .act-workflows/deploy.yml

Replace deploy.yml with your filename and keep .act-workflows generated/ignored. This still points Act at the same public GitHub action; it needs neither a mirror nor conditional steps in the actual workflow. It only transl…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tertek
Comment options

@joshwebtimestwo
Comment options

Answer selected by tertek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants