File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,14 @@ jobs:
2424 app_base64_private_key : ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }}
2525 auth_type : installation
2626
27- - name : Dump GitHub context
28- env :
29- GITHUB_CONTEXT : ${{ toJson(github) }}
30- run : echo "$GITHUB_CONTEXT"
31-
3227 # We use the app for branches in this this repo to ensure PR chekcs are kept in place.
33- - if : github.event_name == 'push' && github.repository_owner == 'philips-labs'
28+ - if : github.event_name == 'push' && github.repository_owner == 'philips-labs' && github.ref != 'refs/heads/main'
3429 name : Checkout with App Token
3530 uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
3631 with :
3732 token : ${{ steps.token.outputs.token }}
3833
39- - if : github.event_name == 'push' && github.repository_owner != 'philips-labs'
34+ - if : ( github.event_name == 'push' && github.repository_owner != 'philips-labs') || github.ref == 'refs/heads/main '
4035 name : Checkout with GITHUB Action token
4136 uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
4237
You can’t perform that action at this time.
0 commit comments