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
14 changes: 11 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
- mkdocs.yml
- .github/workflows/docs.yml
workflow_dispatch:
schedule:
- cron: '23 5 * * *'

concurrency:
group: pages
Expand Down Expand Up @@ -48,8 +50,14 @@ jobs:
- name: Build docs
run: mkdocs build --strict

- name: Generate AI commits badge
# renovate: datasource=github-tags depName=DevSecNinja/.github
uses: DevSecNinja/.github/actions/ai-commits-badge@19b7e3c8460e63bbb0966a73297b83f4606b1e95 # v3.7.0
with:
out: site/badges

- name: Upload Pages artifact
if: github.event_name == 'push'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: site/
Expand All @@ -58,7 +66,7 @@ jobs:
name: Deploy to GitHub Pages
runs-on: ubuntu-24.04
needs: build
if: github.event_name == 'push'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
Expand All @@ -80,7 +88,7 @@ jobs:
needs:
- build
- deploy
if: ${{ always() && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
if: ${{ always() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
runs-on: ubuntu-24.04
permissions:
contents: read
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🐠 Dotfiles

[![Docs](https://img.shields.io/badge/docs-dotfiles.ravensberg.org-blue?logo=materialformkdocs)](https://dotfiles.ravensberg.org)
[![Docs](https://img.shields.io/badge/docs-dotfiles.ravensberg.org-blue?logo=materialformkdocs)](https://dotfiles.ravensberg.org) [![AI commits](https://dotfiles.ravensberg.org/badges/ai-commits.svg)](https://dotfiles.ravensberg.org/badges/ai-commits-stats.json)

Modern dotfiles repository managed with [Chezmoi](https://chezmoi.io/), featuring [Fish shell](https://fishshell.com/) configuration and automated setup scripts.

Expand Down Expand Up @@ -392,6 +392,12 @@ chezmoi init --data=false
- [Fish Shell Documentation](https://fishshell.com/docs/current/)
- [Chezmoi Template Reference](https://www.chezmoi.io/reference/templates/)

## 🤖 AI usage

These figures count commits by recognized AI agents or with AI co-author trailers; merges and bot automation are excluded. Unmarked AI assistance is not counted, and commits are not a measure of lines written.

[![Who wrote the commits?](https://dotfiles.ravensberg.org/badges/ai-commits-card.svg)](https://dotfiles.ravensberg.org/badges/ai-commits-stats.json)

## 🤝 Contributing

Feel free to fork and customize this repository for your own needs!
Expand Down
Loading