Skip to content

Commit

Permalink
Create slash-command.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nabuskey authored Nov 26, 2024
1 parent c4e34c4 commit f8d83f8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/slash-command.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: slash-command

on:
issue_comment:
types: [created]

jobs:
slash_command_dispatch:
runs-on: ubuntu-22.04
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.CNOE_GH_WORKFLOW_TOKEN_APP_ID }}
private-key: ${{ secrets.CNOE_GH_WORKFLOW_TOKEN_PRIVATE_KEY }}
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v4
with:
token: ${{ steps.generate-token.outputs.token }}
commands: e2e

0 comments on commit f8d83f8

Please sign in to comment.