-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger workflow repo HTTP 404: Not Found #198
Comments
Is the target repo |
If not you need to create a token for that target repository. By default a token for the repository of the workflow is requested. - uses: qoomon/actions--access-token@v3
id: access-token
with:
repository: <my_org>/<target_repo>
permissions: |
actions: write |
Fixed. I was missing the correct subject in my access-token.yml file. |
Glad you could fix it, if you have any further question or ideas for improvements let me know |
Hi again,
I am trying to do the same as in your example for Trigger a Workflow. I am getting the token but I am getting a 404, and I was wondering whether it is related to the token not being valid. Here is how the workflow looks like:
The error I'm getting in GH Actions is:
I ran the
gh workflow run dockerpublish.yml --repo <my_org>/<target_repo> --ref main
from command prompt after agh auth login
and it ran fine.The text was updated successfully, but these errors were encountered: