diff --git a/.github/workflows/fhem_test.yml b/.github/workflows/fhem_test.yml index 24ff8c1..ace704f 100644 --- a/.github/workflows/fhem_test.yml +++ b/.github/workflows/fhem_test.yml @@ -4,18 +4,9 @@ permissions: contents: read on: + # Kein paths-Filter bei pull_request: Required Status Checks müssen auf jedem PR + # gemeldet werden, sonst bleiben reine Renovate-/Doku-PRs auf BLOCKED stehen. pull_request: - paths: - - 'FHEM/**' - - 'lib/**' - - 'CHANGED' - - 'controls_WebAuth.txt' - - 'README.md' - - '.devcontainer/svn-manifest.txt' - - 't/**' - - 'cpanfile' - - 'scripts/**' - - '.github/workflows/fhem_test.yml' push: paths: - 'FHEM/**' @@ -52,7 +43,7 @@ jobs: - name: Install CPAN dependencies run: cpanm --installdeps . --notest - name: Install FHEM via debian nightly - uses: fhem/setup-fhem@v1.0.1 + uses: fhem/setup-fhem@v1.0.2 - name: Change ownership of /opt/fhem run: sudo chown -R --reference=cpanfile /opt/fhem - name: Run helper module tests diff --git a/.github/workflows/perlCritic.yml b/.github/workflows/perlCritic.yml index 8cf9bf4..2be094b 100644 --- a/.github/workflows/perlCritic.yml +++ b/.github/workflows/perlCritic.yml @@ -5,13 +5,9 @@ concurrency: cancel-in-progress: true on: + # Kein paths-Filter: Der Check "perlcritic" ist Required und muss auf jedem PR gemeldet werden. pull_request: types: [opened, synchronize, reopened] - paths: - - 'FHEM/**' - - 'lib/**' - - '.perlcritic' - - '.github/workflows/perlCritic.yml' workflow_dispatch: jobs: @@ -24,7 +20,9 @@ jobs: with: perl-version: '5.38' install-modules-with: cpanm - install-modules: Perl::Critic Task::PerlCriticAllPolicies + # Perl::Critic zuerst in aktueller Version, dann Grape: Die Abhängigkeiten der Task + # verlangen sonst eine neuere Perl::Critic-Version, als cpanm vorab installiert hat. + install-modules: Perl::Critic Perl::Critic::Grape Task::PerlCriticAllPolicies install-modules-args: --notest - uses: reviewdog/action-setup@v1 with: