Skip to content

Commit

Permalink
workflows: don't build for changelog/docs only PRs (#2058)
Browse files Browse the repository at this point in the history
* workflows: don't build for changelog/docs only PRs

* test paths-ignore

* revert test and add ignore to go-checks

* another test for go-checks

* test changelog

* revert test
  • Loading branch information
fairclothjm authored Oct 18, 2023
1 parent 4b202f5 commit 0c31395
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build

on: push
on:
push:
paths-ignore:
- 'website/**'
- 'CHANGELOG.md'

permissions:
# Permission for checking out code
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-checks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Go checks
on:
push:
paths-ignore:
- 'website/**'
- 'CHANGELOG.md'
jobs:
go-checks:
# using `main` as the ref will keep your workflow up-to-date
Expand Down

0 comments on commit 0c31395

Please sign in to comment.