diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 37c61dbf..c2baf4dc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,12 +14,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: | git config user.name github-actions git config user.email github-actions@github.com git config --global user.email github-actions@github.com git config --global user.name github-actions + - name: Conventional commit check + uses: oknozor/cocogitto-action@v1 + with: + git-user: 'github-actions' + git-user-email: 'github-actions@github.com' + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/Cogogitto.yml b/.github/workflows/Cogogitto.yml deleted file mode 100644 index f6c09c61..00000000 --- a/.github/workflows/Cogogitto.yml +++ /dev/null @@ -1,19 +0,0 @@ - -name: Conventional commit check - -on: [ push, pull_request ] - -jobs: - test: - name: Tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Conventional commit check - uses: oknozor/cocogitto-action@v1 - with: - git-user: 'github-actions' - git-user-email: 'github-actions@github.com' \ No newline at end of file