Skip to content

separate to two jobs and staging #93

separate to two jobs and staging

separate to two jobs and staging #93

Workflow file for this run

name: Show Help for Commands
on:
push:
branches:
- "**" # Trigger on all branches, including feature branches
issue_comment:
types: [created]
workflow_dispatch:
inputs:
issue-number:
description: 'PR/Issue number to post the help comment to'
required: true
type: number
permissions:
issues: write
pull-requests: write
jobs:
debug:
uses: ./.github/workflows/debug-workflow.yml
with:
debug_enabled: false # Will still run if vars.DEBUG_WORKFLOW is true
show-help:
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
github.event.comment.body == '/help')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout
- name: Process Help Command
uses: ./.github/actions/help-command
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.inputs.issue-number }}