diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0bdd41df4..16fcaefe6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,11 +33,16 @@ on: - '!src/Jackett.Test/**' schedule: - cron: '00 00 * * 5' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: analyze: name: Analyze runs-on: windows-2022 + if: github.repository == 'Jackett/Jackett' permissions: actions: read contents: read diff --git a/.github/workflows/issuebot.yml b/.github/workflows/issuebot.yml index 4b248fb1b..4c82fbee3 100644 --- a/.github/workflows/issuebot.yml +++ b/.github/workflows/issuebot.yml @@ -16,6 +16,7 @@ jobs: redeliver-failed-deliveries: name: Redeliver failed deliveries runs-on: ubuntu-latest + if: github.repository == 'Jackett/Jackett' steps: # This workflow will run a script that is stored in the repository. This step checks out the repository contents so that the workflow can access the script. - name: Check out repo content