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

.github/workflows: don't run on forks #3651

Merged
merged 1 commit into from
Sep 28, 2024
Merged

Conversation

khaneliman
Copy link
Contributor

Limits the scheduled build and push and flake update CI to not run on forks since they just create failure noise.

@Alexays Alexays merged commit 6322fa2 into Alexays:master Sep 28, 2024
8 of 9 checks passed
@@ -9,6 +9,7 @@ on:
jobs:
lockfile:
runs-on: ubuntu-latest
if: github.repository == 'Alexays/Waybar'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe if: github.event_name != 'schedule' || github.repository == 'Alexays/Waybar'?

I found workflow_dispatch support useful when I had to update flake.lock without any knowledge about Nix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was gonna do that, since we do that in nixvim to allow people to manually run it. Didn't know if people would find it helpful here, too.

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.

3 participants