Cloud - Create PR to update available list #84
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: Cloud - Create PR to update available list | |
on: | |
schedule: | |
- cron: "0 6 * * 2" | |
jobs: | |
cloud_list: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Update available cloud list | |
run: make cloud-list | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: Cloud - Update available list | |
title: Cloud - Update available list | |
body: Cloud - Update available list | |
base: main | |
labels: automated-pr, Clouds & Regions | |
branch: cloud-update-advanced-params | |
delete-branch: true |