From c3d1eec6bf217f66088dc63b74040df77bf3a574 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 30 Nov 2023 09:52:24 +0800 Subject: [PATCH] Update GitHub Actions workflow to include specific paths --- .github/workflows/test.yml | 14 ++++++-------- README.md | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9857895..125a0c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,14 +4,12 @@ on: push: branches: - master - paths-ignore: - - ".github/workflows/codeql-analysis.yml" - - ".github/workflows/test-on-pr.yml" - - ".github/workflows/contributors.yml" - - ".github/workflows/sync.yml" - - ".github/workflows/release.yml" - - "README.md" - - ".goreleaser.yml" + paths: + - "**.go" + - "go.mod" + - "go.sum" + - "resource/**" + - ".github/workflows/test.yml" jobs: tests: diff --git a/README.md b/README.md index 5b3cf50..9adae5a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-GitHub release (with filter)    +GitHub release (with filter)   

:trollface: Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.