From d8d774fccce49d890fc1b2ca68b7d7625e989721 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 30 May 2020 21:03:35 -0400 Subject: Remove mod-tidy workflow Signed-off-by: Dave Henderson --- .github/workflows/mod-tidy.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/mod-tidy.yml (limited to '.github') diff --git a/.github/workflows/mod-tidy.yml b/.github/workflows/mod-tidy.yml deleted file mode 100644 index 247eefb4..00000000 --- a/.github/workflows/mod-tidy.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Tidy Go modules - -on: - push: - paths: - - .github/workflows/mod-tidy.yml - - go.mod - - go.sum - -jobs: - tidy: - runs-on: ubuntu-latest - container: - image: hairyhenderson/gomplate-ci-build:latest - steps: - - name: Checkout - uses: actions/checkout@v1 - - name: Reattach HEAD - run: git checkout ${GITHUB_REF#refs/heads/} - - name: Tidy - run: rm -f go.sum; go mod tidy - - name: Configure git - run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git - - name: Commit and push changes - run: | - git add go.sum go.mod - if output=$(git status --porcelain) && [ ! -z "$output" ]; then - git commit -m 'chore(deps) Tidy go modules' - git push - fi -- cgit v1.2.3