This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
chore(deps): bump tj-actions/changed-files from 40 to 41 in /.github/workflows #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: trigger-update | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
slashCommandDispatchUpdate: | |
if: github.event.issue.pull_request && contains(github.event.comment.body, '/update') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get token | |
id: get_workflow_token | |
uses: peter-murray/workflow-application-token-action@v2 | |
with: | |
application_id: ${{ secrets.NARWHAL_BOT_APP_ID }} | |
application_private_key: ${{ secrets.NARWHAL_BOT_SECRET }} | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v3 | |
with: | |
token: ${{ steps.get_workflow_token.outputs.token }} | |
reaction-token: ${{ steps.get_workflow_token.outputs.token }} | |
commands: update | |
permission: write | |
issue-type: pull-request |