Skip to content

Commit fdb5f96

Browse files
authored
Merge pull request 0xPolygon#1785 from 0xPolygon/hosted/DEVOPS-3352-integrate-coralogix-monitoring
Update to use head_ref instead of base_ref
2 parents e09d6d4 + 545fad8 commit fdb5f96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Hosted PR and Dev/Prod Deployment
33
on:
44
pull_request:
55
types: [opened, reopened, synchronize]
6-
branches:
7-
- hosted/*
86
push:
97
branches:
108
- dev
@@ -22,7 +20,7 @@ on:
2220
jobs:
2321
deploy:
2422
if: |
25-
(github.event_name == 'pull_request' && startsWith(github.base_ref, 'hosted/')) ||
23+
(github.event_name == 'pull_request' && startsWith(github.head_ref, 'hosted/')) ||
2624
(github.event_name == 'push' && github.ref == 'refs/heads/dev') ||
2725
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2826
(github.event_name == 'workflow_dispatch' && inputs.environment == 'prod')

0 commit comments

Comments
 (0)