This repository was archived by the owner on Jan 16, 2025. It is now read-only.
File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,14 @@ jobs:
24
24
app_base64_private_key : ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }}
25
25
auth_type : installation
26
26
27
- - name : Dump GitHub context
28
- env :
29
- GITHUB_CONTEXT : ${{ toJson(github) }}
30
- run : echo "$GITHUB_CONTEXT"
31
-
32
27
# 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'
34
29
name : Checkout with App Token
35
30
uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
36
31
with :
37
32
token : ${{ steps.token.outputs.token }}
38
33
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 '
40
35
name : Checkout with GITHUB Action token
41
36
uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
42
37
You can’t perform that action at this time.
0 commit comments