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

chore: use semantic-commit-action #33857

Merged
merged 2 commits into from
Apr 20, 2022
Merged

chore: use semantic-commit-action #33857

merged 2 commits into from
Apr 20, 2022

Conversation

nornagon
Copy link
Member

Description of Change

The semantic commit checker is
down, and not for
the first time. Let's switch to using GitHub Actions.

Notes: none

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Apr 20, 2022
@nornagon nornagon added the fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases label Apr 20, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Apr 20, 2022
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true
Copy link
Member

@erickzhao erickzhao Apr 20, 2022

Choose a reason for hiding this comment

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

Our current behaviour for this is false. titleOnly ignores the commit message for single commits and is the same as validateSingleCommit: false

titleOnly: true

Copy link
Member Author

@nornagon nornagon Apr 20, 2022

Choose a reason for hiding this comment

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

hm... okay. I'll switch it to false to maintain existing behavior but I think we may actually want this to consider changing this to be true because we have merged a bunch of non-semantic commits by accident. e.g. 92c5ded

Copy link
Member

Choose a reason for hiding this comment

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

That's true. The trade-off is that folks are used to editing PR titles to make sure things are semantic and it annoyingly doesn't work with single-commit PRs.

Would be nice if squash and merge always defaulted to PR title rather than commit message regardless of the number of commits in a PR, but that's for the :octocat: product team to figure out.

@zeke
Copy link
Contributor

zeke commented Apr 20, 2022

As the (lousy) maintainer of the semantic pull requests app, I support this choice!

Looks like it went down this time because Heroku's GitHub App tokens were compromised: https://status.heroku.com/incidents/2413

Copy link
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

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

The YML looks good - thanks for adding this!

@jkleinsc jkleinsc merged commit 0c86483 into main Apr 20, 2022
@jkleinsc jkleinsc deleted the semantic-commit-action branch April 20, 2022 20:50
@release-clerk
Copy link

release-clerk bot commented Apr 20, 2022

No Release Notes

@trop
Copy link
Contributor

trop bot commented Apr 20, 2022

I have automatically backported this PR to "15-x-y", please check out #33863

@trop
Copy link
Contributor

trop bot commented Apr 20, 2022

I have automatically backported this PR to "16-x-y", please check out #33864

@trop
Copy link
Contributor

trop bot commented Apr 20, 2022

I have automatically backported this PR to "17-x-y", please check out #33865

@trop
Copy link
Contributor

trop bot commented Apr 20, 2022

I have automatically backported this PR to "18-x-y", please check out #33866

@trop
Copy link
Contributor

trop bot commented Apr 20, 2022

I have automatically backported this PR to "19-x-y", please check out #33867

dsanders11 added a commit to electron/rebuild that referenced this pull request Jan 13, 2023
dsanders11 added a commit to electron/rebuild that referenced this pull request Jan 13, 2023
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
* chore: use semantic-commit-action

* Update semantic.yml
dsanders11 added a commit to electron/update-electron-app that referenced this pull request May 4, 2023
Refs electron/electron#33857.

Since this repo uses CFA releases, enforce semantic commit messages.
dsanders11 added a commit to electron/universal that referenced this pull request May 4, 2023
Refs electron/electron#33857.

Since this repo uses CFA releases, enforce semantic commit messages.
VerteDinde pushed a commit to electron/universal that referenced this pull request May 15, 2023
Refs electron/electron#33857.

Since this repo uses CFA releases, enforce semantic commit messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases semver/none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants