From 0dea99ef3b5a6c5a5e7fe0f4682eb92b09e919c0 Mon Sep 17 00:00:00 2001 From: Florian Esser Date: Thu, 31 Oct 2024 15:03:28 +0100 Subject: [PATCH] ci: remove job to check PR label requirement In hale-core, no separate challenging step is required before merging a PR. Quality must be ensured by adding or using automated tests. --- .github/workflows/labels.yml | 27 --------------------------- .wetf-repo.yml | 1 - 2 files changed, 28 deletions(-) delete mode 100644 .github/workflows/labels.yml diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml deleted file mode 100644 index 4091d91caf..0000000000 --- a/.github/workflows/labels.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Check labels - -on: - pull_request: - branches: - - master # Trigger only on PRs to master - types: [opened, synchronize, reopened, labeled, unlabeled] - -jobs: - require-challenge: - runs-on: ubuntu-latest - - permissions: - contents: read - pull-requests: write - - steps: - - uses: mheap/github-action-required-labels@d25134c992b943fb6ad00c25ea00eb5988c0a9dd # v5.4.2 - with: - mode: minimum - count: 1 - labels: | - challenged - renovate/patch - renovate/minor - add_comment: ${{ ! github.event.pull_request.head.repo.fork }} - message: "This PR cannot be merged yet because a required label is missing: `{{ provided }}`. It needs to be added before this PR can be merged." diff --git a/.wetf-repo.yml b/.wetf-repo.yml index bd10e19b13..90d5a70d7c 100644 --- a/.wetf-repo.yml +++ b/.wetf-repo.yml @@ -7,5 +7,4 @@ presets: [] # List of custom required checks required_checks: - check / check / run - - require-challenge - spotless