From 47111e2d4edf5d817a0a43d375e815a163aa9903 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 28 Dec 2021 19:43:34 +0100 Subject: [PATCH] Create run-commit.yml --- .github/workflows/run-commit.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/run-commit.yml diff --git a/.github/workflows/run-commit.yml b/.github/workflows/run-commit.yml new file mode 100644 index 00000000..3befd89e --- /dev/null +++ b/.github/workflows/run-commit.yml @@ -0,0 +1,19 @@ +name: Run and commit +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: 1.17 + - run: go mod tidy + - name: Commit changes + uses: EndBug/add-and-commit@v7 + with: + author_name: ${{ github.actor }} + author_email: ${{ github.actor }}@users.noreply.github.com + message: 'go mod tidy'