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

Action is not working for manual run(workflow_dispatch) actions #50

Open
rrbadam opened this issue Sep 29, 2023 · 1 comment
Open

Action is not working for manual run(workflow_dispatch) actions #50

rrbadam opened this issue Sep 29, 2023 · 1 comment

Comments

@rrbadam
Copy link

rrbadam commented Sep 29, 2023

We have created a git action of type workflow_dispatch and integrated deployment-marker-action. When executing it manually it is not working, but works fine with release workflow.

Error we are getting:

level=fatal msg="could not initialize New Relic client, make sure your profile is configured with newrelic profile configure"

Please confirm if this workflow is designed for only
release:
types: [published]

@sanderblue
Copy link
Contributor

sanderblue commented Sep 29, 2023

Hi @rrbadam, this GitHub Action should work just fine with workflow_dispatch (just confirmed it works). Assuming you have your GitHub secrets set up properly, I'm not sure why it would work for your release workflow and then not work for the manual trigger in your case. But for some reason it sounds like it's not getting the inputs it needs, specifically your New Relic API key in this scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants