You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/03/19 15:02:33 UTC

[GitHub] [ozone] dineshchitlangia commented on a change in pull request #2060: HDDS-4995. Skip CI for draft pull requests

dineshchitlangia commented on a change in pull request #2060:
URL: https://github.com/apache/ozone/pull/2060#discussion_r597750873



##########
File path: .github/workflows/post-commit.yml
##########
@@ -66,6 +68,7 @@ jobs:
         if: always()
   bats:
     runs-on: ubuntu-18.04
+    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false

Review comment:
       Is it possible to create an environment variable and then use it everywhere?
   
   ```suggestion
       env:
            skipCI = ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
       if: ${{skipCI}}
   ```




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org