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

View File

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