Skip to content

Commit

Permalink
feat(./github/workflows): Add Slash Command Support
Browse files Browse the repository at this point in the history
  • Loading branch information
psavidis authored Jan 3, 2025
1 parent fc9bbe7 commit 27a6f35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/set-version-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
issues:
types:
- closed
issue_comment:
types: [ created ]

jobs:
call-reusable-flow:
if: ${{ github.event.issue.state_reason != 'not_planned' }}
if: >
(github.event_name == 'issues' && github.event.action == 'closed' && github.event.issue.state_reason != 'not_planned') ||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '/set-version-labels'))
uses: camunda/automation-platform-github-actions/.github/workflows/set-version-labels.yml@main
secrets: inherit

0 comments on commit 27a6f35

Please sign in to comment.