diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 815f93d..c8cba04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,23 +6,25 @@ on: paths: - 'cmd/**' - 'pkg/**' + - 'scripts/**' - 'go.mod' - 'main.go' - '.github/actions/test/**' - - 'scripts/**' + - '.github/workflows/test.yml' pull_request: paths: - 'cmd/**' - 'pkg/**' + - 'scripts/**' - 'go.mod' - 'main.go' - '.github/actions/test/**' - - 'scripts/**' + - '.github/workflows/test.yml' jobs: test: runs-on: ubuntu-latest - if: !startsWith(github.ref, 'refs/tags/') + if: ${{ !startsWith(github.ref, 'refs/tags/') }} steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/README.md b/README.md index e66cbca..95dc7fc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ![GitHub Release](https://img.shields.io/github/v/release/eat-pray-ai/yutu?sort=semver&style=flat-square&logo=go) ![GitHub Downloads](https://img.shields.io/github/downloads/eat-pray-ai/yutu/total?style=flat-square) -![GitHub Actions build Status](https://img.shields.io/github/actions/workflow/status/eat-pray-ai/yutu/go-ossf-slsa3-publish.yml?style=flat-square&logo=githubactions) +![GitHub Actions build Status](https://img.shields.io/github/actions/workflow/status/eat-pray-ai/yutu/publish.yml?style=flat-square&logo=githubactions) ![GitHub Actions CodeQL Status](https://img.shields.io/github/actions/workflow/status/eat-pray-ai/yutu/codeql.yml?style=flat-square&logo=githubactions&label=CodeQL) ![GitHub Actions test Status](https://img.shields.io/github/actions/workflow/status/eat-pray-ai/yutu/test.yml?style=flat-square&logo=githubactions&label=test)