Skip to content

Commit 950902c

Browse files
committed
chore: update dependabot schedule and tidy up workflow
1 parent 2768b54 commit 950902c

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
version: 2
77
updates:
88
- package-ecosystem: "github-actions"
9-
directory: "/" # Location of package manifests
9+
directory: "/"
1010
schedule:
11-
interval: "daily"
11+
interval: "weekly"
12+
groups:
13+
github-actions:
14+
patterns:
15+
- "*"
16+
cooldown:
17+
default-days: 7

.github/workflows/build_page.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ on:
55
schedule:
66
- cron: "0 */6 * * *"
77
workflow_dispatch:
8-
permissions:
9-
pages: write
10-
id-token: write
8+
119
concurrency:
1210
group: "pages"
1311
cancel-in-progress: false
12+
1413
jobs:
1514
build:
1615
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1718
steps:
1819
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
20+
with:
21+
persist-credentials: false
1922
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
2023
with:
2124
python-version: 3.x
@@ -35,6 +38,9 @@ jobs:
3538
name: github-pages
3639
url: ${{ steps.deployment.outputs.page_url }}
3740
runs-on: ubuntu-latest
41+
permissions:
42+
pages: write
43+
id-token: write
3844
needs: build
3945
steps:
4046
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)