Skip to content

Commit

Permalink
fix(bundlewatch): honor SKIP CI commit message
Browse files Browse the repository at this point in the history
- [x] Prevent bundle watch from running on release commits by honoring `SKIP CI` commit message.
- [x] Minor GH workflow YAML reformatting.
  • Loading branch information
rafegoldberg committed Dec 17, 2020
1 parent ccc24f7 commit 2d30f3a
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 2d30f3a

Please sign in to comment.