Trigger GAM #6
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: Trigger GAM | |
on: | |
# schedule: | |
# - cron: '0 12 * * 5' # Runs every Friday at 12:00 PM UTC | |
workflow_dispatch: {} | |
jobs: | |
trigger-gam: | |
uses: red-hat-data-services/Gated-Auto-Merger/.github/workflows/Gated-Auto-Merger.yaml@main | |
secrets: | |
APP_ID: ${{ secrets.APP_ID }} | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
with: | |
component: "Dashboard" # only acceps inputs from the github context and the “needs” object | |
print-gam-execution-metadata: | |
needs: trigger-gam | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
name: metadata_file | |
- name: Print GAM Execution Metadata | |
run: cat metadata.yaml |