diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 703c54ff..54d94d76 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,6 +22,11 @@ jobs: with: dotnet-version: "6.0.x" + - name: Commitlint and Other Shared Build Steps + uses: momentohq/standards-and-practices/github-actions/shared-build@gh-actions-v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build run: | dotnet build diff --git a/.github/workflows/lint_pr.yml b/.github/workflows/lint_pr.yml deleted file mode 100644 index 2a4a0179..00000000 --- a/.github/workflows/lint_pr.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "Lint PR" - -on: - pull_request: - branches: [ main ] - -jobs: - main: - runs-on: ubuntu-latest - steps: - # Please look up the latest version from - # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v3.4.5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - validateSingleCommit: true