Ignores have to be applied by *event*

This commit is contained in:
TwistedUmbrellaX 2024-04-19 21:41:03 -04:00 committed by TwistedUmbrellaX
parent 419273ecc6
commit 9abcf253a7
2 changed files with 26 additions and 15 deletions

View File

@ -3,15 +3,20 @@ name: 'Build Plugin'
on: on:
push: push:
branches: [ "10.8" ] branches: [ "10.8" ]
paths-ignore:
- '**/README.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'images/**'
- 'manifest.json'
pull_request: pull_request:
branches: [ "10.8" ] branches: [ "10.8" ]
paths-ignore: paths-ignore:
- '**/README.md' - '**/README.md'
- '.github/ISSUE_TEMPLATE/**' - '.github/ISSUE_TEMPLATE/**'
- 'docs/**' - 'docs/**'
- 'images/**' - 'images/**'
- 'manifest.json' - 'manifest.json'
permissions: permissions:
contents: write contents: write
@ -90,4 +95,4 @@ jobs:
draft: false draft: false
prerelease: true prerelease: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -3,14 +3,20 @@ name: "CodeQL"
on: on:
push: push:
branches: [ 10.8 ] branches: [ 10.8 ]
paths-ignore:
- '**/README.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'images/**'
- 'manifest.json'
pull_request: pull_request:
branches: [ 10.8 ] branches: [ 10.8 ]
paths-ignore: paths-ignore:
- '**/README.md' - '**/README.md'
- '.github/ISSUE_TEMPLATE/**' - '.github/ISSUE_TEMPLATE/**'
- 'docs/**' - 'docs/**'
- 'images/**' - 'images/**'
- 'manifest.json' - 'manifest.json'
permissions: write-all permissions: write-all
@ -43,4 +49,4 @@ jobs:
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9