0

Can I use check_run trigger in Github Actions the following way?

  on:
     check_run:
       types: [completed]
       conclusion: [success]
       name: [mytest]

Is there anyone who can give me a correct example to follow?

GuiFalourd
  • 15,523
  • 8
  • 44
  • 71
user3770635
  • 123
  • 6
  • 2
    According to the [`check_run` trigger documentation](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#check_run) there is only one subtype in this trigger which is the `type` field. – GuiFalourd Nov 01 '22 at 14:22
  • 1
    You could use a job-level if-condition for other fields. – Benjamin W. Nov 01 '22 at 14:40
  • https://docs.github.com/en/actions/learn-github-actions/contexts i check all the context, there is no conditions to get the result, like the ${{github.ref}} ? – user3770635 Nov 02 '22 at 02:01

0 Answers0