Skip to content

Commit 66e267e

Browse files
committed
Update PR validation workflow
1 parent 45d01de commit 66e267e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/validate-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Validate PR
33
on:
44
workflow_dispatch:
55
pull_request:
6-
types: [auto_merge_enabled]
6+
types: [opened, synchronize, reopened, ready_for_review, auto_merge_enabled]
7+
branches: [main]
78

89
jobs:
910
validate-pr:
@@ -17,7 +18,7 @@ jobs:
1718
java-version: '21'
1819
distribution: 'temurin'
1920
- name: Setup Gradle
20-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
21+
uses: gradle/actions/setup-gradle@v4
2122

2223
- name: Clean Build with Gradle
2324
run: ./gradlew clean build

0 commit comments

Comments
 (0)