From 28689a917ab597fe3a79ce3cacb1dd83eb0c639e Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX <1173913+AbandonedCart@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:41:03 -0400 Subject: [PATCH] Ignores have to be applied by *event* --- .github/workflows/build.yml | 21 +++++++++++++-------- .github/workflows/codeql.yml | 20 +++++++++++++------- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af2fa12..1c1271a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,15 +3,20 @@ name: 'Build Plugin' on: push: branches: [ "master" ] + paths-ignore: + - '**/README.md' + - '.github/ISSUE_TEMPLATE/**' + - 'docs/**' + - 'images/**' + - 'manifest.json' pull_request: branches: [ "master" ] - paths-ignore: - - '**/README.md' - - '.github/ISSUE_TEMPLATE/**' - - 'docs/**' - - 'images/**' - - 'manifest.json' - + paths-ignore: + - '**/README.md' + - '.github/ISSUE_TEMPLATE/**' + - 'docs/**' + - 'images/**' + - 'manifest.json' permissions: contents: write @@ -94,4 +99,4 @@ jobs: draft: false prerelease: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 13c74c7..b0393ad 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,14 +3,20 @@ name: "CodeQL" on: push: branches: [ master ] + paths-ignore: + - '**/README.md' + - '.github/ISSUE_TEMPLATE/**' + - 'docs/**' + - 'images/**' + - 'manifest.json' pull_request: branches: [ master ] - paths-ignore: - - '**/README.md' - - '.github/ISSUE_TEMPLATE/**' - - 'docs/**' - - 'images/**' - - 'manifest.json' + paths-ignore: + - '**/README.md' + - '.github/ISSUE_TEMPLATE/**' + - 'docs/**' + - 'images/**' + - 'manifest.json' permissions: write-all @@ -46,4 +52,4 @@ jobs: - name: Autobuild uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 \ No newline at end of file + uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9