Skip to content

Commit

Permalink
scripts/compareCommitMsgWithPR.fsx: add
Browse files Browse the repository at this point in the history
  • Loading branch information
tehraninasab committed Mar 28, 2023
1 parent 73ada7e commit ae0f040
Show file tree
Hide file tree
Showing 3 changed files with 616 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ jobs:
- name: Check if gitPush1by1 was used
if: github.event_name == 'pull_request'
run: dotnet fsi scripts/detectNotUsingGitPush1by1.fsx
- name: compares commit-msg with PR in case there is only one commit in the PR
if: github.event_name == 'pull_request'
run: dotnet fsi scripts/compareCommitMsgWithPR.fsx
- name: Install prettier
run: npm install prettier@2.8.3
- name: Change file permissions
Expand Down
1 change: 1 addition & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This is a repository that contains several useful things that other `nblockchain
* [F# scripts compilation](scripts/compileFSharpScripts.fsx).
* [EOF without EOL detection](scripts/eofConvention.fsx).
* [Mixed line-endings detection](scripts/mixedLineEndings.fsx).
* [Compare commit-msg with PR (Making sure the commit message title and body are the same as PR title and description in case there is only one commit in the PR)](scripts/compareCommitMsgWithPR.fsx).
* Use of unpinned versions:
* [Use of `-latest` suffix in `runs-on:` GitHubCI tags](scripts/unpinnedGitHubActionsImageVersions.fsx).
* [Use of asterisk (*) in `PackageReference` items of .NET projects](scripts/unpinnedDotnetPackageVersions.fsx).
Expand Down

0 comments on commit ae0f040

Please sign in to comment.