Fetch data and create pull request #611
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: Fetch data and create pull request | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
fetchdata: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4.1.1 | |
- name: Run fetch data bash script | |
run: bash ./scripts/fetchdata.sh | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v6.0.0 | |
with: | |
title: 'Automated content update' | |
branch-suffix: timestamp | |
delete-branch: true | |
labels: | | |
automated-content-update | |
reviewers: tzujenchanmbd, Sergiodero |