Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/check-for-ab-number.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Description contains AB# with a valid work item id'
on: # rebuild any PRs for main branch changes
pull_request:
types: [opened, reopened, edited, synchronize]
branches:
- master

permissions:
contents: read

jobs:
check-commit-message:
name: Check Commit Message
runs-on: ubuntu-latest
steps:
- uses: gsactions/commit-message-checker@v2
with:
pattern: 'AB#\d+'
error: 'Commit messages must contain a valid Azure DevOps work item ID (e.g., AB#123).'
excludeDescription: 'true'
excludeTitle: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: dotnet test --no-build --verbosity normal --configuration Release /p:CollectCoverage=true /p:Threshold=50 /p:ThresholdType=line /p:ThresholdStat=Average /p:CoverletOutput=./TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute"

publish-github-packages:
name: Publish to GitHub Packages
name: Publish Package to GitHub Packages and NuGet.org
runs-on: ubuntu-latest
needs: test

Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/validate-pr-ab.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LogicBuilder.ComponentModel.Design.Serialization.slnx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Solution>
<Folder Name="/Solution Items/">
<File Path=".github/workflows/check-for-ab-number.yml" />
<File Path=".github/workflows/ci.yml" />
<File Path=".github/workflows/release.yml" />
<File Path=".github/workflows/validate-pr-ab.yml" />
</Folder>
<Project Path="LogicBuilder.ComponentModel.Design.Serialization.Tests/LogicBuilder.ComponentModel.Design.Serialization.Tests.csproj" Id="a8c7ff01-a569-45c6-adeb-15a6311901fe" />
<Project Path="LogicBuilder.ComponentModel.Design.Serialization/LogicBuilder.ComponentModel.Design.Serialization.csproj" />
Expand Down