Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
time: 09:58
timezone: Etc/UTC
open-pull-requests-limit: 5
cooldown:
default-days: 3
groups:
routine-updates:
patterns:
- '*'
exclude-patterns:
- nicodes/tools/*
- nicodes/cicd/*
- nicodes/komizo-actions/*
- aviorstudio/gdam-actions/*
- '*clerk*'
- '*pocketbase*'
- '*crypto*'
- '*jsonwebtoken*'
- '*jose*'
- '*oauth*'
- '*openid*'
- '*passport*'
- '*bcrypt*'
- '*argon2*'
- '@noble/*'
- '*prisma*'
- '*drizzle*'
- '*migrate*'
update-types:
- minor
- patch
managed-releases:
patterns:
- nicodes/tools/*
- nicodes/cicd/*
- nicodes/komizo-actions/*
- aviorstudio/gdam-actions/*
update-types:
- minor
- patch
security-fixes:
applies-to: security-updates
patterns:
- '*'
exclude-patterns:
- nicodes/tools/*
- nicodes/cicd/*
- nicodes/komizo-actions/*
- aviorstudio/gdam-actions/*
- '*clerk*'
- '*pocketbase*'
- '*crypto*'
- '*jsonwebtoken*'
- '*jose*'
- '*oauth*'
- '*openid*'
- '*passport*'
- '*bcrypt*'
- '*argon2*'
- '@noble/*'
- '*prisma*'
- '*drizzle*'
- '*migrate*'
33 changes: 33 additions & 0 deletions .github/dependency-policy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": 1,
"mode": "auto",
"ci_workflow": "ci.yml",
"required_checks": [
"Test"
],
"integration_job": "check",
"dispatch_workflow": "cd.yml",
"max_group_size": 10,
"managed_dependencies": [
"nicodes/tools/*",
"nicodes/cicd/*",
"nicodes/komizo-actions/*",
"aviorstudio/gdam-actions/*"
],
"sensitive_dependencies": [
"*clerk*",
"*pocketbase*",
"*crypto*",
"*jsonwebtoken*",
"*jose*",
"*oauth*",
"*openid*",
"*passport*",
"*bcrypt*",
"*argon2*",
"@noble/*",
"*prisma*",
"*drizzle*",
"*migrate*"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up tools
uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
uses: jdx/mise-action@08ae2a091c038e1e05ec6f5115dc5c69d5a2a6b8 # v5.1.2
- name: Validate and build the redirect
run: make install check
- name: Configure GitHub Pages
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,20 @@ jobs:
steps:
- name: "Check out source"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Record tested integration identity
if: github.event_name == 'pull_request'
uses: nicodes/tools/integration-identity@ca747e13a51f301f51635c262d883d57d6084ae3 # v0.27.1
env:
EXPECTED_HEAD: ${{ github.event.pull_request.head.sha }}
- name: Upload artifacts
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: fleet-integration-${{ github.run_id }}-${{ github.run_attempt }}
path: .artifacts/fleet-integration.json
if-no-files-found: error
retention-days: 7
- name: "Set up tools"
uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
uses: jdx/mise-action@08ae2a091c038e1e05ec6f5115dc5c69d5a2a6b8 # v5.1.2
- name: "Run project checks"
run: make install check
25 changes: 25 additions & 0 deletions .github/workflows/dependency-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependency Policy
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
workflow_run:
workflows: ["Build & Test"]
types: [completed]
workflow_dispatch:
schedule:
- cron: '58 6 * * *'
permissions:
contents: write
pull-requests: write
actions: write
checks: read
statuses: read
concurrency:
group: dependency-policy
cancel-in-progress: false
jobs:
auto-merge:
name: Apply dependency policy
uses: nicodes/tools/.github/workflows/dependency-merge.yml@ca747e13a51f301f51635c262d883d57d6084ae3 # v0.27.1
with:
runner: blacksmith-2vcpu-ubuntu-2404