Skip to content
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

[BUG] "Error: Unable to locate this workflow's ID in this repository, can't trigger job.." #135

Closed
darrellwarde opened this issue Apr 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@darrellwarde
Copy link
Contributor

Describe the bug

When triggering off a pull_request_target event, the GitHub Action successfully looks up the signature of the committer, but then fails with error "Unable to locate this workflow's ID in this repository, can't trigger job..". This renders the status of the commit as failed and blocks merging of the PR.

I suspect that pull_request_target may need adding to this check in addition to pull_request:

if (context.eventName === 'pull_request') {

To Reproduce

Steps to reproduce the behavior:

  1. Trigger the GHA using pull_request_target as instructed in the README
  2. Open a PR, sign, and you will experience this error

Expected behavior

The status check passes because all committers have signed the CLA.

@darrellwarde
Copy link
Contributor Author

Please see #139 for the fix to the actual issue in play here.

@darrellwarde darrellwarde closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant