Skip to content

Test issue

Test issue #3

Workflow file for this run

on:
issue_comment:
env:
TARGET_REPO_OWNER: 'cupy'
TARGET_REPO_NAME: 'self-hosted-ci'
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Generate Token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.GH_APP_SELF_HOSTED_CI_ID }}
private-key: ${{ secrets.GH_APP_SELF_HOSTED_CI_PEM }}
owner: ${{ env.TARGET_REPO_OWNER }}
repositories: ${{ env.TARGET_REPO_NAME }}
- name: Dispach CI
uses: peter-evans/repository-dispatch@v3
with:
repository: ${{ env.TARGET_REPO_OWNER }}/${{ env.TARGET_REPO_NAME }}
event-type: rocm-ci
token: ${{ steps.generate-token.outputs.token }}