Skip to content

Commit

Permalink
build: add paths-ignore for build-tarball workflow
Browse files Browse the repository at this point in the history
In GitHub Actions, don't run build-tarball if the only changed files are
docs.

PR-URL: #40109
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and BethGriggs committed Sep 21, 2021
1 parent 9c76c69 commit 886921d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-tarball.yml
Expand Up @@ -3,12 +3,22 @@ name: Build from tarball
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'

env:
FLAKY_TESTS: dontcare
Expand Down

0 comments on commit 886921d

Please sign in to comment.