Skip to content

Trigger BVT In Other Repp #3

Trigger BVT In Other Repp

Trigger BVT In Other Repp #3

Workflow file for this run

name: Trigger BVT In Other Repp
on:
workflow_dispatch
permissions:
contents: read
id-token: write
jobs:
Trigger BVT:

Check failure on line 11 in .github/workflows/trigger-bvt.yml

View workflow run for this annotation

GitHub Actions / Trigger BVT In Other Repp

Invalid workflow file

The workflow is not valid. .github/workflows/trigger-bvt.yml (Line: 11, Col: 3): The identifier 'Trigger BVT' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
name: "Trigger BVT"
env:
GITHUB_ORG: xwang2713
GITHUB_REPO: github-action-hpcc-terraform
GITHUB_REPO_BRANCH: main
WF_YAML_FILE: az-bvt.yml
runs-on: Ubuntu-22.04
steps:
- name: 'Call Curl to trigger another workflow'
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.MING_GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$GITHUB_ORG/$GITHUB_REPO/actions/workflows/$WF_YAML_FILE/dispatches \
-d '{"ref": "${GITHUB_REPO_BRANCH}", "inputs": { "hpccVersion":"9.8.18", "hpccSrcBranch":"community_9.8.18-1" }}'