From c119d4c20b1e12d5e1b090899765f405d491b388 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sat, 8 Mar 2025 02:19:18 +0200 Subject: [PATCH] chore(ci): update workflows --- .github/workflows/linters.yml | 10 ++++++++++ .github/workflows/new-release.yml | 1 + 2 files changed, 11 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 6f92f2d..dd14032 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -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: diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index 8fde825..a38a64a 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -17,6 +17,7 @@ jobs: contents: write pull-request: write release: write + workflows: write outputs: created: ${{ steps.daily-version.outputs.created }}