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

How to locate Dependabot ID #5

Open
single-stop-rj opened this issue May 27, 2021 · 2 comments
Open

How to locate Dependabot ID #5

single-stop-rj opened this issue May 27, 2021 · 2 comments

Comments

@single-stop-rj
Copy link

Love this action. However, I was not able to locate the Dependabot ID.

The number provided I am assuming is custom to your own bot install?

Do you know where I could find it?

@namin2
Copy link
Owner

namin2 commented May 27, 2021

This ID is for the Dependabot user that Github uses when makes PR automatically(globally I believe). I don't think you should need to change it if you are using Dependabot to create update PRs. If that does not work, you can try and look at one of the PRs this should have run on via the GitHub API and find the user that created it and try that ID.

Let me know if you're still having issues and I can take another look.

@single-stop-rj
Copy link
Author

After some discovery, we determined that you will need to change the code to this.

#...
  if: github.event.pull_request.user.login == 'dependabot[bot]'

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