-
Notifications
You must be signed in to change notification settings - Fork 1
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
GitHub Action Integration Test Issue #1
Comments
Creating this issue didn't result in a workflow execution. I'm not surprised, the code is not on |
Adding the label didn't trigger a workflow execution either. I was hoping it would because of the code is now in a PR, but I guess I need to merge it first. Shame though, this will result in a lot of little merges on |
Tried to remove the label with the PR no "Ready for review". Same result. Not surprising, but worth a shot. |
The build kicked by adding this label failed with:
"Cannot read property I'm gonna remove the label to see what happens. I expect the build to fail again. The fact that the Also... Why didn't the build fail for real? 🤔 |
As expected, the build kicked by removing the label failed as well. There's a better formatted error in the log than the one I pasted above:
The only line accessing const githubLabels = danger.github.issue.labels; My TypeScript is very poor, but from what I gather I'd say This keeps pointing to my idea that the token doesn't have enough access. Maybe |
The token has the recommended scope for a public repository: Moreover, I can't find any scope mentioning issues in the GitHub docs. |
I've been trying to get faster feedback by running Danger locally, but it can only run on PRs not issues. I might change the setup to run a rule for PRs, and go from there. |
I opened #23 with a proper setup. I'm going to add a label now to see if a workflow runs, but I doubt it will, we've seen already that the code needs to be on the base branch. |
No workflow triggered. I'm going to merge #23, then close this issue and open a new one to have a clean testing place. |
I'm working on integrating GitHub Actions, with the end goal of running all of the checks currently done with Peril with Actions + Danger, see wordpress-mobile#13366.
This issue will allow us to test the first integration experiment, annotating issues that don't have labels. The rule lives here.
Expect a lot of label/un-label activity here 😄 .
The text was updated successfully, but these errors were encountered: