1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

fail PR if a lock file was changed (#1344)

This commit is contained in:
Kevin Papst
2022-11-09 21:03:10 +01:00
committed by GitHub
parent b2d19ac40f
commit 153500f04e

26
.github/workflows/lockfiles.yaml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Changed lock files
on:
pull_request: null
push:
branches:
- main
- dev
permissions:
pull-requests: read
jobs:
lockfiles:
runs-on: ubuntu-latest
name: Verify lock file integrity
steps:
- name: Clone Tabler
uses: actions/checkout@v2
- name: Prevent lock file change
uses: xalvarez/prevent-file-change-action@v1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: Gemfile.lock|package-lock.json
trustedAuthors: codecalm, dependabot