mirror of https://github.com/Jackett/Jackett
actions: fix potential github action smells (#15274)
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
parent
6cf2285abe
commit
b92d15d9a2
|
@ -33,11 +33,16 @@ on:
|
||||||
- '!src/Jackett.Test/**'
|
- '!src/Jackett.Test/**'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '00 00 * * 5'
|
- cron: '00 00 * * 5'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
if: github.repository == 'Jackett/Jackett'
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
@ -16,6 +16,7 @@ jobs:
|
||||||
redeliver-failed-deliveries:
|
redeliver-failed-deliveries:
|
||||||
name: Redeliver failed deliveries
|
name: Redeliver failed deliveries
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'Jackett/Jackett'
|
||||||
steps:
|
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.
|
# 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
|
- name: Check out repo content
|
||||||
|
|
Loading…
Reference in New Issue