From ee1eea2eac74183c1285fe9eb688c5fa244bdb1a Mon Sep 17 00:00:00 2001 From: florianuhlig Date: Sun, 5 Oct 2025 02:54:19 +0200 Subject: [PATCH] Testing workflows for Development --- .github/workflows/linters.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index e495e8f..e6d11e2 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -1,32 +1,32 @@ name: linters +permissions: + contents: read + workflows: write + on: workflow_run: - workflows: ["Review"] - types: [completed] #requested + workflows: ["Review"] # EXACT match of the other workflow’s name + types: [completed] jobs: on-success: + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - - # 1. Check out code - name: Checkout repository uses: actions/checkout@v3 - # 2. Set up Python - name: Set up Python 3.9 uses: actions/setup-python@v4 with: python-version: '3.9' - # 3. Install dependencies - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pylint - # 4. Run linters - name: Run flake8 run: flake8 @@ -34,7 +34,7 @@ jobs: run: pylint frontend services utils on-failure: - runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'failure' }} + runs-on: ubuntu-latest steps: - - run: echo 'The triggering workflow failed' \ No newline at end of file + - run: echo 'The Review workflow failed'