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

Don't trigger documentation/benchmarks upload if user is dependabot #1325

Closed
jasonwilliams opened this issue Jun 15, 2021 · 0 comments · Fixed by #1333 or #1337
Closed

Don't trigger documentation/benchmarks upload if user is dependabot #1325

jasonwilliams opened this issue Jun 15, 2021 · 0 comments · Fixed by #1333 or #1337
Labels
bug Something isn't working E-Easy Easy github_actions Pull requests that update Github_actions code good first issue Good for newcomers
Milestone

Comments

@jasonwilliams
Copy link
Member

Workflows triggered by Dependabot PRs will run with read-only permissions

We should set out workflow file to not bother uploading anything when the master-merge was by dependabot.
We should be able to use an if statement in the build block. Similar to https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#determining-when-to-use-contexts

Maybe ${{ github.actor !== "dependabot"}} or something

@jasonwilliams jasonwilliams added bug Something isn't working good first issue Good for newcomers E-Easy Easy github_actions Pull requests that update Github_actions code labels Jun 15, 2021
@neeldug neeldug mentioned this issue Jun 17, 2021
@Razican Razican added this to the v0.13.0 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working E-Easy Easy github_actions Pull requests that update Github_actions code good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants