From f9a9e5b5829ff92730746d75ba6427ac36ab5897 Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Wed, 23 Aug 2023 08:39:46 +0300 Subject: [PATCH 1/2] changed to ci_light with MegaLinter --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6519e29..5b62fb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: oxsecurity/megalinter@v7 + uses: oxsecurity/megalinter/flavors/ci_light@v7.3.0 env: VALIDATE_ALL_CODEBASE: true DEFAULT_BRANCH: master From e43d773e5e5f931e2e70acaf58ad79dada405ea4 Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Wed, 23 Aug 2023 08:53:54 +0300 Subject: [PATCH 2/2] added automated comments to pull requests and issues --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b62fb6..951aa06 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ permissions: read-all jobs: check: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/checkout@v3