-
Notifications
You must be signed in to change notification settings - Fork 21
Improve GH Actions and Dependabot #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e9a8682
324c44f
794f0a4
efcb013
58c51fa
a91cd44
71ac2fa
c01f80b
0ebab0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| version: 2 | ||
|
|
||
| updates: | ||
| # 1) GitHub Actions | ||
| - package-ecosystem: github-actions | ||
| directory: / # GitHub scans .github/workflows from here | ||
| schedule: | ||
| interval: weekly | ||
| day: monday | ||
| time: "03:00" | ||
| open-pull-requests-limit: 5 | ||
| assignees: ["OlivierBBB", "letypequividelespoubelles"] | ||
| labels: ["dependencies", "github-actions"] | ||
| commit-message: | ||
| prefix: "deps(actions)" | ||
| include: "scope" | ||
| groups: | ||
| core-actions-minor-patch: | ||
| update-types: ["minor", "patch"] | ||
| patterns: | ||
| - "actions/*" | ||
| - "github/*" | ||
| third-party-actions-minor-patch: | ||
| update-types: ["minor", "patch"] | ||
| patterns: | ||
| - "*" | ||
| exclude-patterns: | ||
| - "actions/*" | ||
| - "github/*" | ||
| cooldown: | ||
| default-days: 7 | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,32 +1,52 @@ | ||||||||
| name: Build & Upload the Specification | ||||||||
|
|
||||||||
| on: | ||||||||
| push: | ||||||||
| branches: [ main ] | ||||||||
| workflow_dispatch: | ||||||||
|
|
||||||||
| permissions: {} # lock everything by default (least-privilege) | ||||||||
|
|
||||||||
| jobs: | ||||||||
| archive-build-spec: | ||||||||
| name: Build & Upload Specification PDF | ||||||||
| permissions: | ||||||||
| contents: read | ||||||||
|
||||||||
| contents: read | |
| contents: read | |
| actions: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is not. That said, the original workflow never ran with restricted permissions, so this hasn't been tested empirically for this repo. The workflow dispatch will be the definitive proof. If the upload step fails with a 403, then adding actions: write is the fix, but I don't expect it to.
Uh oh!
There was an error while loading. Please reload this page.