Skip to content

Commit

Permalink
fix(bundlewatch): honor skip commit message (#101)
Browse files Browse the repository at this point in the history
- [x] Prevents bundle watch from running on release commits.
- [x] Other minor GitHub workflow YAML reformatting.
  • Loading branch information
rafegoldberg committed Dec 17, 2020
1 parent ccc24f7 commit 796bc9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bundlewatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ on: [push]

jobs:
check:
name: Bundle Watch
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'SKIP CI')"
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: CI

on: [push]

jobs:
Test:

if: "!contains(github.event.head_commit.message, 'SKIP CI')"
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/[email protected]

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release

on:
push:
branches:
- master
- next

jobs:
semantic-release:
name: Build & Publish Release
Release:
if: "!contains(github.event.head_commit.message, 'SKIP CI')"
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 796bc9c

Please sign in to comment.