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

feat: Only run docker build and discord notify on the main repo (not forks) #3176

Conversation

boc-the-git
Copy link
Collaborator

What type of PR is this?

  • cleanup
  • feature

What this PR does / why we need it:

This will minimise the noise we get as developers working in our own forks. With the current setup, syncing from the main repo into fork runs the jobs, which fail because they can't access Discord for instance.
Documentation on the if functionality: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif

Which issue(s) this PR fixes:

None.

Testing

I merged effectively this same PR into my fork and observed it skipping those jobs, per this action run.

image

@hay-kot hay-kot enabled auto-merge (squash) February 17, 2024 02:33
@hay-kot hay-kot merged commit 6c4294d into mealie-recipes:mealie-next Feb 17, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants