actions: fix potential github action smells (#15274)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Cedric 2024-04-27 00:57:00 +02:00 committed by GitHub
parent 6cf2285abe
commit b92d15d9a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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