Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/api-snapshot-refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -17,6 +16,10 @@ concurrency:
jobs:
refresh:
name: Refresh *arr OpenAPI snapshots
permissions:
# Committing the refreshed snapshots and opening the PR.
contents: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 10

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci-skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- "scripts/marketing/**"

permissions:
checks: write
contents: read

concurrency:
group: ci-skip-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -25,6 +25,9 @@ concurrency:
jobs:
skip-checks:
name: CI Skip (docs-only)
permissions:
# Publishing the no-op check runs that satisfy branch protection.
checks: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cleanup-actions-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ on:
- "true"

permissions:
# gh cache delete requires actions: write.
actions: write
contents: read

concurrency:
group: ${{ github.workflow }}
Expand All @@ -44,6 +43,9 @@ concurrency:
jobs:
cleanup:
name: Prune stale caches
permissions:
# gh cache delete requires actions: write.
actions: write
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
tags: ["v*"]

permissions:
contents: write
contents: read

jobs:
release:
name: Create GitHub Release
permissions:
# Creating the GitHub Release requires contents: write.
contents: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/star-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
default: false

permissions:
contents: write
contents: read

concurrency:
group: ${{ github.workflow }}
Expand All @@ -32,6 +32,9 @@ jobs:
# Forks have no `assets` branch, so a dispatched run there would fail on
# the checkout below.
if: github.repository == 'av1155/houndarr'
permissions:
# Force-pushing the rendered chart to the orphan `assets` branch.
contents: write
runs-on: ubuntu-latest
timeout-minutes: 10

Expand Down