Skip to content

Commit

Permalink
Improve GitHub Actions hygiene
Browse files Browse the repository at this point in the history
context: unknown commit, google/go-github#1821
PiperOrigin-RevId: 362600035
  • Loading branch information
cushon authored and google-java-format Team committed Mar 12, 2021
1 parent 506875d commit 189c381
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@

name: CI

on: [ push, pull_request ]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
Expand All @@ -40,6 +46,10 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ github.token }}
- name: 'Check out repository'
uses: actions/checkout@v2
- name: 'Cache local Maven repository'
Expand Down

0 comments on commit 189c381

Please sign in to comment.