diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index f3b1e17..c798f41 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -3,9 +3,22 @@ name: Check on: push: pull_request: - branches: [ "master" ] + # branches: [ "master" ] jobs: + commit-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: commit-check/commit-check-action@v1 + with: + message: true + branch: true + author-name: true + author-email: true + commit-signoff: true + dry-run: true + job-summary: true check: @@ -13,10 +26,21 @@ jobs: steps: - name: Check out source code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: fetch-depth: 0 + # - name: Check commit + # - uses: commit-check/commit-check-action@v1 + # with: + # message: false + # branch: false + # author-name: true + # author-email: true + # commit-signoff: true + # dry-run: false + # job-summary: true + - name: Get swayimg version run: echo "VERSION=$(git describe --tags --long --always | sed 's/^v//;s/-/./')" >> $GITHUB_OUTPUT id: version