Skip to content

Commit

Permalink
scripts/detectNotUsingGitPush1by1: improve
Browse files Browse the repository at this point in the history
Improve the detectNotUsingGitPush1by1.fsx script to detect wrong
CI status of commits. If commit msg contains text "failing test"
then it would be allowed to have broken CI, else CI should be
green.

Fixes #95
  • Loading branch information
tehraninasab committed Jul 4, 2023
1 parent abfde9a commit 0289f54
Show file tree
Hide file tree
Showing 2 changed files with 417 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ jobs:
run: dotnet fsi scripts/unpinnedNugetPackageReferenceVersions.fsx
- name: Check there are no unpinned versions in `dotnet tool install` commands
run: dotnet fsi scripts/unpinnedDotnetToolInstallVersions.fsx
- name: Check if gitPush1by1 was used
- name: Check if gitPush1by1 was used and analyze commits 1 by 1
if: github.event_name == 'pull_request'
run: dotnet fsi scripts/detectNotUsingGitPush1by1.fsx
run: dotnet fsi scripts/analyzeCommits1by1.fsx
- name: Check there are no inconsistent versions GitHubCI files
run: dotnet fsi scripts/inconsistentVersionsInGitHubCI.fsx
- name: Check there are no inconsistent versions in nuget package references of F# scripts
Expand Down
Loading

0 comments on commit 0289f54

Please sign in to comment.