Skip to content

Commit

Permalink
Create verified.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvda-mesharma authored Jul 30, 2024
1 parent 9268c2f commit 98f4a3f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/verified.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
issue_comment:
types: [created]
jobs:
run-test:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && contains(github.event.comment.body, '/ready')add-verified-labels:
environment: GITLAB
runs-on: self-hosted
if: ${{ always() && !cancelled() && needs.*.result == '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 98f4a3f

Please sign in to comment.