Skip to content

Commit

Permalink
arf
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 28, 2024
1 parent afa2169 commit 4d0516c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/self-comment-slow-ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: PR comment github action tests

on:
issue_comment:
types: [created, edited, deleted]
on: issue_comment

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -23,6 +21,19 @@ env:
CUDA_VISIBLE_DEVICES: 0,1

jobs:

pr_commented:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- run: |
echo A comment on PR $NUMBER
env:
NUMBER: ${{ github.event.issue.number }}
testing-stuff-around:
if: contains(github.event.comment.html_url, '/pull/') # check if the comments come from pull request, exclude those from issue.
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 4d0516c

Please sign in to comment.