This repository was archived by the owner on Apr 25, 2025. It is now read-only.
fix: properly mask systemd user services (#6) #32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| gitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install gitlint | |
| run: pip install gitlint | |
| - name: Validate current commit (last commit) with gitlint | |
| if: github.event_name == 'push' | |
| run: gitlint | |
| - name: Validate PR commits with gitlint | |
| if: github.event_name == 'pull_request' | |
| run: gitlint --commits ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }},${{ github.event.pull_request.head.sha }} |