name: Deploy

on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build
      run: swift build -v
    - name: Run
      run: swift run -v Publisher

name: Deploy

on:
  push:
    branches: [ master ]

jobs:
  check_skip:
    runs-on: ubuntu-latest
    if: |
      !contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), '[skip ci]')
    steps:
      - run: |
          cat <<'MESSAGE'
          github.event_name: ${{ toJson(github.event_name) }}
          github.event:
          ${{ toJson(github.event) }}
          MESSAGE
  build:
    depends-on: check_skip
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build
      run: swift build -v
    - name: Run
      run: swift run -v Publisher

Add step to skip tagged commits
Add step to skip tagged commits

Courtesy of
https://gist.github.com/ybiquitous/c80f15c18319c63cae8447a3be341267