From 4551994ff9fa0b8323f2fe562ffa93163ce63ba1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 30 Sep 2022 21:40:12 +0200 Subject: [PATCH 1/3] Create blank.yml --- .github/workflows/blank.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..6ab1800 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,25 @@ +name: CI + +on: [push, pull_request] + +jobs: + linting: + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'NO_CI')" + strategy: + fail-fast: false + max-parallel: 3 + steps: + - name: Checkout Repository + uses: actions/checkout@main + with: + fetch-depth: 0 + submodules: recursive + token: ${{ secrets.GH_TOKEN }} + - name: Lint Code Base + uses: github/super-linter/slim@v4 + env: + VALIDATE_ALL_CODEBASE: false + VALIDATE_MARKDOWN: true + DEFAULT_BRANCH: develop + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} From 1ef17a22ef206e77926792257cd0c06acdcdc266 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 30 Sep 2022 21:40:23 +0200 Subject: [PATCH 2/3] Rename blank.yml to main.yml --- .github/workflows/{blank.yml => main.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{blank.yml => main.yml} (100%) diff --git a/.github/workflows/blank.yml b/.github/workflows/main.yml similarity index 100% rename from .github/workflows/blank.yml rename to .github/workflows/main.yml From 234b20bf054b3e3ce901dd87d7ce74cefd4fb689 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 30 Sep 2022 21:43:38 +0200 Subject: [PATCH 3/3] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ab1800..51ab156 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,11 +15,11 @@ jobs: with: fetch-depth: 0 submodules: recursive - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GH_PAT }} - name: Lint Code Base uses: github/super-linter/slim@v4 env: VALIDATE_ALL_CODEBASE: false VALIDATE_MARKDOWN: true DEFAULT_BRANCH: develop - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }}