Update Presets #667
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 Presets | |
on: | |
schedule: | |
- cron: '0 7 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
update-dep: | |
runs-on: ubuntu-latest | |
if: github.repository == 'letsblockit/letsblockit' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
- name: Download updated presets | |
run: go run ./cmd/utils/ update-presets | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.BOT_TOKEN }} | |
push-to-fork: lbi-bot/letsblockit | |
commit-message: "search-results: update presets" | |
title: "search-results: update presets" | |
labels: filter-data | |
branch: update-presets | |
delete-branch: true |