Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
To trigger the action, just comment in review with:

```
github-actions-workflow-tests
```
  • Loading branch information
nycholas authored Jan 20, 2024
1 parent 8635bd2 commit 9d7607a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
if: >-
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
!contains(github.event.issue.body, 'github-actions-workflow: tests')
contains(github.event.issue.body, 'github-actions-workflow-tests') == false
uses: action-pack/cancel@v1
- name: Comment about start of workflow
if: >-
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
contains(github.event.issue.body, 'github-actions-workflow: tests')
contains(github.event.issue.body, 'github-actions-workflow-tests')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_ID: ${{ github.event.pull_request.html_url }}
Expand Down

0 comments on commit 9d7607a

Please sign in to comment.