mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
Delete cargo-lock.yml
This commit is contained in:
parent
06a13aecd9
commit
747c522d72
25
.github/workflows/cargo-lock.yml
vendored
25
.github/workflows/cargo-lock.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: Remove Cargo.lock changes
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
paths:
|
||||
- 'Cargo.lock'
|
||||
|
||||
jobs:
|
||||
remove-cargo-lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Remove Cargo.lock changes
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git checkout ${{ github.head_ref }}
|
||||
git reset origin/${{ github.base_ref }} -- Cargo.lock
|
||||
git commit -m "Remove changes to Cargo.lock" || echo "No changes to commit"
|
||||
git push origin ${{ github.head_ref }} --force
|
Loading…
Reference in New Issue
Block a user