Skip to content

Commit 8675af6

Browse files
committed
Apply audit remediation
1 parent febaf01 commit 8675af6

5 files changed

Lines changed: 31 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
push:
55
pull_request:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
test:
912
runs-on: ubuntu-latest
13+
timeout-minutes: 15
1014
steps:
1115
- uses: actions/checkout@v6
1216
- uses: actions/setup-python@v6
@@ -16,4 +20,3 @@ jobs:
1620
run: python -m pip install -e ".[test]"
1721
- name: Run tests
1822
run: python -m pytest -q
19-

.github/workflows/cross_repo_smoke.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ on:
1010
schedule:
1111
- cron: "45 11 * * 6"
1212

13+
permissions:
14+
contents: read
15+
16+
concurrency:
17+
group: cross-repo-advisory-smoke-${{ github.ref_name }}
18+
cancel-in-progress: false
19+
1320
jobs:
1421
cross-repo-smoke:
1522
runs-on: ubuntu-latest
23+
timeout-minutes: 20
1624
steps:
1725
- name: Checkout advisor repository
1826
uses: actions/checkout@v6

.github/workflows/monthly_advisory_review.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,17 @@ on:
5050
schedule:
5151
- cron: "20 13 1 * *"
5252

53+
permissions:
54+
contents: read
55+
56+
concurrency:
57+
group: monthly-advisory-review-${{ github.ref_name }}
58+
cancel-in-progress: false
5359

5460
jobs:
5561
build-monthly-review:
5662
runs-on: ubuntu-latest
63+
timeout-minutes: 45
5764
steps:
5865
- name: Checkout advisor repository
5966
uses: actions/checkout@v6

.github/workflows/publish_advisory_site.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,14 @@ permissions:
5656
id-token: write
5757

5858

59+
concurrency:
60+
group: ${{ github.workflow }}-${{ github.ref_name }}
61+
cancel-in-progress: false
62+
5963
jobs:
6064
build-site:
6165
runs-on: ubuntu-latest
66+
timeout-minutes: 60
6267
environment:
6368
name: github-pages
6469
url: ${{ steps.deployment.outputs.page_url }}

.github/workflows/weekly_advisory_review.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,17 @@ on:
4545
schedule:
4646
- cron: "30 12 * * 6"
4747

48+
permissions:
49+
contents: read
50+
51+
concurrency:
52+
group: weekly-advisory-review-${{ github.ref_name }}
53+
cancel-in-progress: false
4854

4955
jobs:
5056
build-review:
5157
runs-on: ubuntu-latest
58+
timeout-minutes: 45
5259
steps:
5360
- name: Checkout advisor repository
5461
uses: actions/checkout@v6

0 commit comments

Comments
 (0)