From c0ebc8a2596c01029c105cdd44ee6a4f2374c8a5 Mon Sep 17 00:00:00 2001 From: shipengqi Date: Wed, 8 May 2024 12:58:11 +0800 Subject: [PATCH] chore(actions): actions ignore goreleaer.yaml file --- .github/workflows/codeql.yaml | 2 ++ .github/workflows/gitleaks.yaml | 2 ++ .github/workflows/grype.yaml | 2 ++ .github/workflows/lint.yaml | 2 ++ .github/workflows/test.yml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index fb414cb..b5f60de 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -5,11 +5,13 @@ on: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' pull_request: branches: [ main ] paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' jobs: analyze: name: analyze diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index 79bdcc2..da04539 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -6,10 +6,12 @@ on: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' pull_request: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' permissions: contents: read jobs: diff --git a/.github/workflows/grype.yaml b/.github/workflows/grype.yaml index 5ce578b..5c0a80f 100644 --- a/.github/workflows/grype.yaml +++ b/.github/workflows/grype.yaml @@ -6,10 +6,12 @@ on: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' pull_request: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' jobs: scan-source: name: scan-source diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index bec9174..3ed143d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -8,10 +8,12 @@ on: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' pull_request: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' permissions: contents: read diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edf1cb1..117163e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,11 +6,13 @@ on: paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' pull_request: branches: [ main ] paths-ignore: - 'docs/**' - 'README.md' + - '.goreleaser.yaml' jobs: unit-test: