Gated Auto-Merger #1
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: Gated Auto-Merger | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
component: | ||
type: choice | ||
description: select component | ||
options: | ||
- Dashboard | ||
jobs: | ||
onboard-release-branches: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Trigger GAM | ||
env: | ||
HYDRA_TOKEN: ${{ secrets.HYDRA_TOKEN }} | ||
shell: bash | ||
id: trigger_gam | ||
run: | | ||
python src/main.py --component ${{ github.event.inputs.component }} | ||
echo "inside main" | ||
pwd | ||
ls | ||
ls /tmp | ||
- uses: actions/checkout@v3 | ||
ref: metadata | ||
Check failure on line 32 in .github/workflows/Gated-Auto-Merger.yaml GitHub Actions / Gated Auto-MergerInvalid workflow file
|
||
path: metadata | ||
- name: Copy metadata Json | ||
id: copy_meta | ||
run: | | ||
echo "inside metadata" | ||
pwd | ||
ls | ||
# - name: Commit and push changes to main branch | ||
# uses: actions-js/push@master | ||
# with: | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# branch: metadata | ||
# message: "Adding ${{ steps.remove_release_from_config.outputs.RELEASE_TO_BE_SETUP }} to releases.yaml" | ||
# repository: red-hat-data-services/rhods-devops-infra |