This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Cloud - Create PR to update available list #139
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 * * *" | |
workflow_dispatch: | |
jobs: | |
cloud_list: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- 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 | |
committer: GitHub <noreply@github.com> | |
author: GitHub <noreply@github.com> | |
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 |