From 4aeddb78454b5da090ab7fe5e6bd53bfc1a9a821 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Sat, 12 Apr 2025 05:52:37 +0200 Subject: [PATCH] ci: add permissions --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 974cab0..2196dc6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [master] +permissions: + contents: read + checks: write + jobs: build: runs-on: ubuntu-latest @@ -73,7 +77,6 @@ jobs: if: always() with: report-path: build/reports/ktlint/**/*.xml -# ignore-warnings: true # Ignore Lint Warnings continue-on-error: false test: