diff --git a/.github/workflows/lockfiles.yaml b/.github/workflows/lockfiles.yaml new file mode 100644 index 00000000..f8e57f25 --- /dev/null +++ b/.github/workflows/lockfiles.yaml @@ -0,0 +1,19 @@ +name: Check .lock files +on: + pull_request: null + push: + branches: + - master +jobs: + lockfiles: + runs-on: ubuntu-latest + name: Verify lock file integrity + if: ${{ github.actor != 'kevinpapst' && github.actor != 'dependabot[bot]' }} + steps: + - name: Clone Kimai + uses: actions/checkout@v2 + - name: Prevent file change + uses: xalvarez/prevent-file-change-action@v1 + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} + pattern: .*.lock