mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-23 17:52:23 -04:00
More lock downs
This commit is contained in:
parent
41ab921621
commit
3c61392eeb
1
.github/workflows/cleanup-tags.yml
vendored
1
.github/workflows/cleanup-tags.yml
vendored
@ -14,6 +14,7 @@ on:
|
||||
concurrency:
|
||||
group: registry-tags-cleanup
|
||||
cancel-in-progress: false
|
||||
permissions: {}
|
||||
jobs:
|
||||
cleanup-images:
|
||||
name: Cleanup Image Tags for ${{ matrix.primary-name }}
|
||||
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -35,6 +35,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
|
8
.github/workflows/pr-bot.yml
vendored
8
.github/workflows/pr-bot.yml
vendored
@ -2,8 +2,16 @@ name: PR Bot
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
- beta
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
- beta
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
10
.github/workflows/repo-maintenance.yml
vendored
10
.github/workflows/repo-maintenance.yml
vendored
@ -3,10 +3,6 @@ on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
discussions: write
|
||||
concurrency:
|
||||
group: lock
|
||||
jobs:
|
||||
@ -37,7 +33,7 @@ jobs:
|
||||
if: github.repository_owner == 'paperless-ngx'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v5
|
||||
- uses: dessant/lock-threads@v5.0.1
|
||||
with:
|
||||
issue-inactive-days: '30'
|
||||
pr-inactive-days: '30'
|
||||
@ -113,6 +109,8 @@ jobs:
|
||||
}
|
||||
close-outdated-discussions:
|
||||
name: 'Close Outdated Discussions'
|
||||
permissions:
|
||||
discussions: write
|
||||
if: github.repository_owner == 'paperless-ngx'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
@ -205,6 +203,8 @@ jobs:
|
||||
}
|
||||
close-unsupported-feature-requests:
|
||||
name: 'Close Unsupported Feature Requests'
|
||||
permissions:
|
||||
discussions: write
|
||||
if: github.repository_owner == 'paperless-ngx'
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
|
11
.github/zizmor.yml
vendored
11
.github/zizmor.yml
vendored
@ -1,8 +1,19 @@
|
||||
# https://woodruffw.github.io/zizmor/
|
||||
rules:
|
||||
dangerous-triggers:
|
||||
ignore:
|
||||
# See https://woodruffw.github.io/zizmor/audits/#remediation_1
|
||||
# we filter to the target branches to limit external users running their own code
|
||||
- pr-bot.yml:2:1
|
||||
unpinned-uses:
|
||||
config:
|
||||
policies:
|
||||
# We trust GitHub not to have a security incident
|
||||
actions/*: ref-pin
|
||||
github/codeql-action/*: ref-pin
|
||||
crowdin/github-action: ref-pin
|
||||
astral-sh/setup-uv: ref-pin
|
||||
pnpm/action-setup: ref-pin
|
||||
dessant/lock-threads: ref-pin
|
||||
Gascon1/pr-size-labeler: ref-pin
|
||||
stumpylog/image-cleaner-action/*: ref-pin
|
||||
|
Loading…
x
Reference in New Issue
Block a user