Skip to content

Commit

Permalink
Update trigger_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvda-mesharma authored Jul 27, 2024
1 parent 72ee876 commit 18c6ab6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trigger_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,21 @@ jobs:
run: |
#!/bin/bash
curl --fail --request POST --form token=${{ secrets.PIPELINE_TOKEN }} -F ref=${GITHUB_HEAD_REF} -F variables[BUILD_OPTION]="BUILD-SOURCE" "${{ secrets.PIPELINE_URL }}"
add-ready-label:
environment: GITLAB
needs: trigger-ci
runs-on: self-hosted
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Add labels
uses: actions/github-script@v5
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['ready', 'verified_on_V100', 'verified_on_A100', 'verified_on_H100']
})
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 18c6ab6

Please sign in to comment.