diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c271f0..1ee01bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Hugo if: github.ref == 'refs/heads/master' - uses: peaceiris/actions-hugo@c03b5dbed22245418539b65eb9a3b1d5fdd9a0a6 + uses: peaceiris/actions-hugo@c03b5dbed22245418539b65eb9a3b1d5fdd9a0a6 # v2 with: hugo-version: "0.82.0" extended: true @@ -38,7 +38,7 @@ jobs: - name: Deploy Documentation if: github.ref == 'refs/heads/master' - uses: peaceiris/actions-gh-pages@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7 + uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4 with: allow_empty_commit: false deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} @@ -47,7 +47,7 @@ jobs: - name: Run GoReleaser if: github.ref != 'refs/heads/master' - uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 + uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3 with: distribution: goreleaser version: latest diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 448806e..3119edd 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: - run: make test-all - name: Setup Hugo - uses: peaceiris/actions-hugo@c03b5dbed22245418539b65eb9a3b1d5fdd9a0a6 + uses: peaceiris/actions-hugo@c03b5dbed22245418539b65eb9a3b1d5fdd9a0a6 # v2 with: hugo-version: "0.82.0" extended: true diff --git a/utilities.go b/utilities.go index 8841fdd..c9b2fa3 100644 --- a/utilities.go +++ b/utilities.go @@ -59,7 +59,7 @@ func exclude(files []string, patterns []string) (result []string, err error) { if err != nil { return } - if excluded, err = doublestar.Match(pattern, file); err != nil { + if excluded, err = doublestar.PathMatch(pattern, file); err != nil { return } else if excluded { template.InternalLog.Tracef("%s ignored", files[i])