Username missing from item preview card #64
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
# If someone with write access comments "/ok-to-test" on a pull request, emit a repository_dispatch event | |
name: Ok To Test | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
ok-to-test: | |
runs-on: ubuntu-latest | |
# required permissions for adding reactions to the pull request comments | |
permissions: | |
pull-requests: write | |
# Only run for PRs, not issue comments | |
if: ${{ github.event.issue.pull_request }} | |
steps: | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v3 | |
with: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
reaction-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-type: pull-request | |
commands: ok-to-test | |
# The repository permission level required by the user to dispatch commands. Only allows 1Password collaborators to run this. | |
permission: write |