title: Github action jobs triggered by different events
body: <p>My release pipeline in Github action has two jobs (1) Testing (2) Release</p>
  <p>This is what I am aim to achieve:</p>
  <p>The testing job of the release pipeline will be triggered by creating a pull-request, the release job of the pipeline will be rung when pull-request is merged</p>
  <pre><code>name: OC-API CD
  on: 
    pull_request:
      types: [merged]
      branches: 
         - master
  
  jobs:
    testing:
    runs-on: ubuntu-latest
    steps:
    ...
  
    release:
    runs-on: ubuntu-latest
    steps:
    ...
  </code></pre>
  <p>It seems all jobs has to be triggered by the same events via <code>on</code>,</p>
  <p>(1) Is there any way that different job can be triggered by different events?</p>
  <p>(2) How can I add dependency between testing and release, AKA, the release job is depend on the successfully runs the testing job</p>