Skip to content

Gated Auto-Merger

Gated Auto-Merger #1

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

View workflow run for this annotation

GitHub Actions / Gated Auto-Merger

Invalid workflow file

The workflow is not valid. .github/workflows/Gated-Auto-Merger.yaml (Line: 32, Col: 7): Unexpected value 'ref' .github/workflows/Gated-Auto-Merger.yaml (Line: 33, Col: 7): Unexpected value 'path'
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