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 29, 2023
1 parent 73ada7e commit d91ce52
Show file tree
Hide file tree
Showing 3 changed files with 617 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 @@ -141,6 +141,9 @@ jobs:
run: dotnet fsi scripts/unpinnedDotnetPackageVersions.fsx
- name: Check there are no unpinned nuget package reference versions in F# scripts
run: dotnet fsi scripts/unpinnedNugetPackageReferenceVersions.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: Check if gitPush1by1 was used
if: github.event_name == 'pull_request'
run: dotnet fsi scripts/detectNotUsingGitPush1by1.fsx
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
Loading

0 comments on commit d91ce52

Please sign in to comment.