Update Lists #146
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 Lists | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 1" | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Execute Update | |
run: ./update | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.16.2" | |
- name: Regenerate go files | |
run: go generate | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: "Auto update #patch" | |
title: Auto update | |
body: This is an auto-generated PR with updates from source lists. | |
assignees: dpup |