Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Arguments parsing implementation #116

Arguments parsing implementation

Arguments parsing implementation #116

Workflow file for this run

name: Pull Request Comment Trigger Example
on:
pull_request:
types: [opened]
issue_comment:
types: [created]
jobs:
hello:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '#hello'
- run: 'echo Found it!'
if: steps.check.outputs.triggered == 'true'
eyes:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '#look'
reaction: eyes
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- run: 'echo Found it!'
if: steps.check.outputs.triggered == 'true'
rocket:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '#deploy'
reaction: rocket
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- run: 'echo Found it!'
if: steps.check.outputs.triggered == 'true'