-
Notifications
You must be signed in to change notification settings - Fork 49
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
deployment-action vs deployment_action #100
Comments
The output is Looking at your logs, that For my own reference: it looks like you've got one feature branch, so to speak, and have created a PR for each commit on it - so PR 7 contains all the commits for PRs 1-6, etc. The workflow logs for the commits in PR 7 each show that workflow as having been run during its respective later PR - e.g. the log for 5d6b546, the first commit, appears as a green tick on PR 7 but was actually run under PR 2 (and there's also a workflow run for it under PR 1, because PR 1 and PR 2 contain the same commit). Also worth bearing in mind that clicking the green tick takes you to the latest check for that commit, even if it wasn't in the current PR, which for most previous commits is the PR Taking a look at luke-denton-ofx/test-actions#7, which we know worked:
Comparing to one that I assume not to have worked, luke-denton-ofx/test-actions#6:
Looking at luke-denton-ofx/test-actions#5, which does not contain a PR comment:
So in summary:
I'm going to close this issue but feel free to respond and I'll do my best to help. We can reopen it if we discover a bug. |
Thanks for your in depth review of my repo Ross, I really appreciate it. This will need to be updated in the README docs, as they currently say I'll continue to play around on my end and see if I can get a better sense of why I regularly don't get a comment posted (due to the if condition), and will create a better set of PR's to demonstrate |
Unbelievably embarrassing... fixing immediately (thank you!)
Sounds good. If you can find an instance where the action resolves to 'deploy' and the JamesIves build step does have something to push ( |
Thanks for your work regarding comment customisation!
I was playing around with it today, and my comment kept getting skipped. I had the
if
statement on it as described in the documentation of this action, but every time, the comment step wouldn't run.After a very long day of debugging, in order to get it to work, I had to update it to be:
Checking just
*.deployment_action
anddeployment_status
would not work, and checking just*.deployment-action
anddeployment_status
wouldn't work.*.deployment_action
and*.deployment-action
needed to both be in the same conditional.I was able to replicate this in a new rep: https://github.com/luke-denton-ofx/test-actions
Any idea what might be going on?
The text was updated successfully, but these errors were encountered: