Update menu data #298
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 menu data | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 9 * * *" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update_menu_data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Update menu data | |
run: bundle exec ruby script/update_menu_data.rb | |
- uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: Update menu data | |
delete-branch: true | |
title: Update menu data |