chore(ci): update workflows

This commit is contained in:
2025-03-08 02:19:18 +02:00
parent 4815e8678b
commit c119d4c20b
2 changed files with 11 additions and 0 deletions

View File

@@ -1,30 +1,40 @@
---
# yaml-language-server: https://json.schemastore.org/github-workflow.json
name: reviewdog
on: [push]
jobs:
linters:
name: Linters
runs-on: self-hosted
permissions:
contents: write
workflows: write
steps:
- uses: actions/checkout@v4
- name: GitHub Actions
uses: reviewdog/action-actionlint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
- name: detect-secrets
uses: reviewdog/action-detect-secrets@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
- name: markdownlint
uses: reviewdog/action-markdownlint@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
- name: shfmt
uses: reviewdog/action-shfmt@v1
with:

View File

@@ -17,6 +17,7 @@ jobs:
contents: write
pull-request: write
release: write
workflows: write
outputs:
created: ${{ steps.daily-version.outputs.created }}