From 747c522d7251a8cfd07c12a1619b838d68e98bff Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Mon, 16 Sep 2024 16:26:06 -0500 Subject: [PATCH] Delete cargo-lock.yml --- .github/workflows/cargo-lock.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/cargo-lock.yml diff --git a/.github/workflows/cargo-lock.yml b/.github/workflows/cargo-lock.yml deleted file mode 100644 index d6338915..00000000 --- a/.github/workflows/cargo-lock.yml +++ /dev/null @@ -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