Skip to content

Update to Node 20 and update dependencies #25

Update to Node 20 and update dependencies

Update to Node 20 and update dependencies #25

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: shanegenschaw/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: shanegenschaw/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: shanegenschaw/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'
arguments-rocket:
runs-on: ubuntu-latest
steps:
- uses: shanegenschaw/pull-request-comment-trigger@master
id: check
with:
trigger: "#deploy on ** environment"
reaction: rocket
allow_arguments: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- run: |
echo 'Found it!'
echo 'Deploy on ${{ fromJson(steps.check.outputs.arguments)[0] }}'
if: steps.check.outputs.triggered == 'true'