Skip to content

Commit e1b5bd4

Browse files
authored
ci: 👷 update CI workflows from template (#82)
# Description Adds or updates workflows from template. No review is needed.
1 parent c3361d4 commit e1b5bd4

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
commit-message:
8+
prefix: ci
9+
include: scope

.github/workflows/add-to-project.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ on:
1111
- reopened
1212
- opened
1313

14-
permissions:
15-
pull-requests: write
14+
# Limit token permissions for security
15+
permissions: read-all
1616

1717
jobs:
1818
add-to-project:
1919
uses: seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main
20+
permissions:
21+
pull-requests: write
2022
with:
2123
app-id: ${{ vars.ADD_TO_BOARD_APP_ID }}
2224
board-number: 18
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
name: Build and deploy website
1+
name: Build website
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
7+
8+
# Limit token permissions for security
9+
permissions: read-all
610

711
jobs:
8-
build-deploy-docs:
12+
build-website:
913
uses: seedcase-project/.github/.github/workflows/reusable-build-docs.yml@main
14+
1015
secrets:
1116
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Dependency Review Action
2+
#
3+
# This Action will scan dependency manifest files that change as part of a Pull Request,
4+
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
5+
# Once installed, if the workflow run is marked as required,
6+
# PRs introducing known-vulnerable packages will be blocked from merging.
7+
#
8+
# Source repository: https://github.com/actions/dependency-review-action
9+
name: "Security: Dependency Review"
10+
on: pull_request
11+
12+
# Limit token permissions for security
13+
permissions: read-all
14+
15+
jobs:
16+
dependency-review:
17+
uses: seedcase-project/.github/.github/workflows/reusable-dependency-review.yml@main

0 commit comments

Comments
 (0)