OpenSearch - Create PR to Update Advanced parameters #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: OpenSearch - Create PR to Update Advanced parameters | |
on: | |
schedule: | |
- cron: "0 6 * * 2" | |
jobs: | |
advanced_params_opensearch: | |
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 service-type-config-opensearch | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: OpenSearch - Update Advanced parameters | |
title: OpenSearch - Update Advanced parameters | |
body: OpenSearch - update advanced parameters file | |
base: main | |
branch: opensearch-update-advanced-params | |
labels: opensearch, automated-pr | |
delete-branch: true |