Create run-commit.yml

This commit is contained in:
Matthieu MOREL 2021-12-28 19:43:34 +01:00 committed by GitHub
parent d062a6a615
commit 47111e2d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/run-commit.yml vendored Normal file
View File

@ -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'