Update Sister Projects #13745
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 Sister Projects | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '42 * * * *' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '2.7.x' | |
- uses: BSFishy/pip-action@v1 | |
with: | |
packages: virtualenv | |
# Runs a set of commands using the runners shell | |
- name: Update Sister Projects | |
shell: bash | |
run: | | |
echo Fetching projects from dergigi.com... | |
./fetch_projects.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
title: 'chore(data): update sister projects' | |
reviewers: dergigi |