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

ci(shellcheck): Change workflow to run on PR label event #1068

Merged
merged 4 commits into from
Mar 18, 2024

Conversation

sonic2kk
Copy link
Owner

Instead of running ShellCheck when a PR is opened, we should run it when a PR is labelled. Outside of PRs, we should run the workflow on merge, but only for the master branch.

In other words, our ShellCheck Action should run in the following conditions:

  • When there is a push to master (such as on merge).
  • When a PR is labelled with "shellcheck".
  • For both of the above, only run on the steamtinkerlaunch file.

Still finding my feet with these workflows, but I think it should be fine.

@sonic2kk sonic2kk merged commit 1a66cfe into master Mar 18, 2024
@sonic2kk sonic2kk deleted the update-shellcheck-workflow-label branch March 18, 2024 23:36
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.

1 participant