mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
Create run-commit.yml
This commit is contained in:
parent
d062a6a615
commit
47111e2d4e
19
.github/workflows/run-commit.yml
vendored
Normal file
19
.github/workflows/run-commit.yml
vendored
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user