Skip to content

Commit

Permalink
Update files from .github to v0.28.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma authored and actions-user committed Oct 2, 2020
1 parent 7760765 commit 4d5f904
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ name: Formatters & Tests

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

jobs:
test:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout project
- name: Checkout project (pull-request)
if: github.event_name == 'pull_request'
uses: actions/checkout@v2.3.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout project (master)
if: github.event_name == 'push'
uses: actions/checkout@v2
- name: Label PR
if: github.event_name == 'pull_request'
Expand All @@ -33,7 +40,7 @@ jobs:
if: github.event.pull_request.user.login == 'alejandrohdezma' && contains(github.event.pull_request.body, 'Scala Steward')
run: sbt "scalafixEnable; fix" || sbt "scalafmtAll; scalafmtSbt" || true
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v4.5.1
with:
commit_message: Run formatter/linter
- name: Run checks
Expand Down

0 comments on commit 4d5f904

Please sign in to comment.