Skip to content

Commit 1460c2a

Browse files
author
Soroosh Sarabadani
committed
rename to pr.yml and run only on pull requests
1 parent e3f0d66 commit 1460c2a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml renamed to .github/workflows/pr.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
2-
name: Java CI with Maven
1+
name: Verify Pull Request
32
on:
4-
push:
5-
branches: [ master ]
63
pull_request:
74
branches: [ master ]
85
jobs:
@@ -20,7 +17,7 @@ jobs:
2017
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2118
restore-keys: |
2219
${{ runner.os }}-maven-
23-
- name: Set up JDK
20+
- name: Set up Java and Maven
2421
uses: actions/setup-java@v1
2522
with:
2623
java-version: ${{ matrix.java }}

0 commit comments

Comments
 (0)