use "master" in triggers

This commit is contained in:
Samuel Carlsson 2022-02-08 17:08:47 +01:00 committed by Samuel Carlsson
parent 3207c50778
commit 469604206b
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@ name: Java CI with Maven
on: on:
push: push:
branches: [ $default-branch ] branches: [ master ]
pull_request: pull_request:
branches: [ $default-branch ] branches: [ master ]
jobs: jobs:
build: build:
@ -22,5 +22,5 @@ jobs:
java-version: '8' java-version: '8'
distribution: 'temurin' distribution: 'temurin'
cache: maven cache: maven
- name: Build with Maven - name: maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml