kou opened a new pull request, #39903:
URL: https://github.com/apache/arrow/pull/39903

   ### Rationale for this change
   
   If jobs that use a self-hosted GitHub Actions Runner on fork are submitted 
on fork, they will timeout eventually and report noisy failure notifications.
   
   ### What changes are included in this PR?
   
   We can't use `jobs.<job_id>.if` to reject jobs that use self-hosted GitHub 
Actions Runner because `jobs.<job_id>.if` is evaluated before 
`jobs.<job_id>.strategy.matrix`.
   
   
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif
   
   > Note: The `jobs.<job_id>.if` condition is evaluated before
   > `jobs.<job_id>.strategy.matrix` is applied.
   
   We can use output `jobs<job_id>.outputs` instead. See also:
   
   * https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
   * 
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to