From 9f5e076a7a896edb657b9fe864180f5fd3ea57f3 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Thu, 24 Apr 2025 18:12:31 +0100 Subject: [PATCH 1/2] Refactor PR checks workflow to skip sync events --- .github/workflows/pr-checks.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 160d8dc..4156475 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -3,7 +3,12 @@ name: pr-checks on: pull_request: branches: [main] - types: [opened, synchronize, reopened, edited, ready_for_review] + types: + - opened + # - synchronize + - reopened + - edited + - ready_for_review concurrency: group: pr-checks-${{ github.event.number }} @@ -26,4 +31,4 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.number }} run: | - python .github/scripts/pr_checks.py $PR_NUMBER \ No newline at end of file + python .github/scripts/pr_checks.py $PR_NUMBER From ff933827801159d09ce7d88c114656ba9bd6ff49 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Thu, 24 Apr 2025 18:14:30 +0100 Subject: [PATCH 2/2] commenting to test change --- .github/workflows/pr-checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 4156475..185c8b7 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -6,6 +6,7 @@ on: types: - opened # - synchronize + # disable to save resources - reopened - edited - ready_for_review