update #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update | |
on: | |
schedule: | |
- cron: "0 0 * * 1" | |
workflow_dispatch: | |
jobs: | |
test: | |
name: update | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: update | |
run: | | |
go run ./internal/gen/gen.go | |
git diff --exit-code --quiet && exit | |
git add dates.go | |
git config --global user.email [email protected] | |
git config --global user.name soh335 | |
git commit -m 'update dates.go' | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
title: update dates.go |