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
|
@ -34,10 +34,15 @@ on:
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue