Skip to content

Commit b9bd557

Browse files
committed
2026-04-11
1 parent 6b3c148 commit b9bd557

3 files changed

Lines changed: 22 additions & 7 deletions

File tree

.github/workflows/update-denylist.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ on:
55
- cron: '0 1 */7 * *'
66
workflow_dispatch:
77

8+
concurrency:
9+
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
10+
cancel-in-progress: true
11+
12+
permissions: {}
13+
814
jobs:
915
update-and-commit:
1016
environment: 'otternaut'
1117
runs-on: 'ubuntu-latest'
1218
permissions:
13-
contents: 'write'
19+
contents: 'read'
1420

1521
steps:
1622
- name: 'Checkout repository'
@@ -31,6 +37,8 @@ jobs:
3137
passphrase: '${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}'
3238

3339
- name: 'Commit'
40+
permissions:
41+
contents: 'write'
3442
run: |
3543
_date=$(date '+%Y-%m-%d')
3644
git add config/ublacklist-compiled.txt

.github/workflows/validate.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ on:
33
push:
44
branches: ['trunk']
55

6+
concurrency:
7+
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
8+
cancel-in-progress: true
9+
10+
permissions: {}
11+
612
jobs:
713
validate:
814
runs-on: 'ubuntu-latest'

.github/workflows/website.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ on:
55
branches: ['trunk']
66
workflow_dispatch:
77

8-
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
12-
138
concurrency:
14-
group: 'pages'
9+
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
1510
cancel-in-progress: false
1611

12+
permissions:
13+
contents: read
14+
1715
jobs:
1816
build:
1917
runs-on: 'ubuntu-latest'
@@ -47,6 +45,9 @@ jobs:
4745
path: './docs/_site'
4846

4947
deploy:
48+
permissions:
49+
pages: write
50+
id-token: write
5051
environment:
5152
name: github-pages
5253
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)