diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2020-05-30 21:03:35 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2020-05-30 21:03:35 -0400 |
| commit | d8d774fccce49d890fc1b2ca68b7d7625e989721 (patch) | |
| tree | 97492d59a72709bdda4624f5424e3726bb0fe1e1 /.github | |
| parent | bc79093efcdfb55ebf26bf4365073fa37aafc218 (diff) | |
Remove mod-tidy workflow
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/mod-tidy.yml | 33 |
1 files changed, 0 insertions, 33 deletions
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 |
