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

perf(github): add knob/flag to manually override CI skip #3574

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zondervancalvez
Copy link
Contributor

@zondervancalvez zondervancalvez commented Oct 7, 2024

Commit to be reviewed


perf(github): add knob/flag to manually override CI skip

Primary Changes
----------------
1. Created a function to check if the commit message
contains 'cacti-skip-ci' to skip the CI check.
2. Check if the request is from the maintainer or not.
If he is a Maintainer, the CI-skip request will be
granted, else not.

Fixes #2679

Pull Request Requirements

  • Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
  • Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
  • Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

  • Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
  • Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

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

@zondervancalvez please fix the pr-commit-parity check, address/reply/resolve the following review comments and re-request for review once done.

tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
tools/should-skip-ci.js Outdated Show resolved Hide resolved
@zondervancalvez zondervancalvez force-pushed the zondervancalvez/issue2679 branch 2 times, most recently from faf119b to edea1e5 Compare October 9, 2024 15:43
tools/should-skip-ci.js Outdated Show resolved Hide resolved
Primary Changes
----------------
1. Created a function to check if the commit message
contains 'cacti-skip-ci' to skip the CI check.
2. Check if the request is from the maintainer or not.
If he is a Maintainer, the CI-skip request will be
granted, else not.

Fixes hyperledger-cacti#2679

Signed-off-by: bado <zondervan.v.calvez@accenture.com>
Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

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

LGTM, just update it to the latest main

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

LGTM with comments

Comment on lines 2652 to 2654
- dev No newline at end of file
- dev

Copy link
Contributor

Choose a reason for hiding this comment

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

@zondervancalvez Please clean up white space changes from the diff

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.

perf(github): add knob/flag to manually override CI skip
3 participants