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

commitlint: honor our own WorkflowGuidelines #172

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Conversation

knocte
Copy link
Member

@knocte knocte commented Aug 30, 2024

The workflow guidelines state that we should avoid the keyword "undefined". This is also extra good because it seems that the ? guards against both null and undefined, at least according to this example:

conventional-changelog/commitlint@7ab4bab

@knocte
Copy link
Member Author

knocte commented Aug 30, 2024

@webwarrior-ws on Monday can you please verify that this PR is correct? By this, I mean that your review should also make sure that what I'm saying in the commit msg is correct, i.e. does the '?' char guard against both null and undefined?

@knocte
Copy link
Member Author

knocte commented Aug 30, 2024

@webwarrior-ws and please investigate why this PR didn't trigger a CI and why the schedule trigger of this CI workflow hasn't worked for the last 3 months?

@knocte knocte force-pushed the undefinedOccurrence branch from 772e3af to 51727b8 Compare August 31, 2024 04:29
@knocte
Copy link
Member Author

knocte commented Aug 31, 2024

@webwarrior-ws and please investigate why this PR didn't trigger a CI and why the schedule trigger of this CI workflow hasn't worked for the last 3 months?

Nevermind. I have no idea how but the workflow was disabled, I had to re-enable it in the GitHub UI, Actions tab.

@knocte knocte force-pushed the undefinedOccurrence branch from 51727b8 to 9212367 Compare August 31, 2024 04:33
The workflow guidelines state that we should avoid the keyword
"undefined". This is also extra good because it seems that the
`?`-based guards against both null and undefined, at least
according to this example:

conventional-changelog/commitlint@7ab4bab
@knocte knocte force-pushed the undefinedOccurrence branch from 322a91f to 131a410 Compare August 31, 2024 05:03
@knocte knocte merged commit 61d1263 into master Aug 31, 2024
10 checks passed
@knocte
Copy link
Member Author

knocte commented Aug 31, 2024

@webwarrior-ws nevermind, had some extra time today and I checked myself.

@knocte knocte deleted the undefinedOccurrence branch August 31, 2024 05:18
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