Skip to content

Commit

Permalink
ci(keepalive): use keepalive v2 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Mar 15, 2024
1 parent 31a829e commit 4424fad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '0 3 * * 4'

permissions:
contents: write
actions: write

jobs:
keep-alive:
Expand All @@ -16,11 +16,9 @@ jobs:
steps:

- name: Clone project files
uses: actions/checkout@v3
uses: actions/checkout@v4

# keepalive-workflow adds a dummy commit if there's no other action here, keeps
# GitHub from turning off tests after 60 days
- uses: gautamkrishnar/keepalive-workflow@v1
# keepalive-workflow keeps GitHub from turning off tests after 60 days
- uses: gautamkrishnar/keepalive-workflow@v2
with:
commit_message: "chore(*): Automated commit to keep the repository active"
time_elapsed: 50
5 changes: 3 additions & 2 deletions tools/coding-standards/phpmd/rulesets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
<exclude name="ExcessiveClassComplexity"/>
<exclude name="TooManyPublicMethods"/>
</rule>
<rule ref="rulesets/unusedcode.xml" />
<rule ref="rulesets/unusedcode.xml"/>
<rule ref="rulesets/cleancode.xml">
<exclude name="StaticAccess"/>
<exclude name="MissingImport"/>
</rule>

<!-- Allow more complexity -->
<rule ref="rulesets/codesize.xml/ExcessiveClassComplexity">
<properties>
Expand Down Expand Up @@ -47,4 +48,4 @@
</property>
</properties>
</rule>
</ruleset>
</ruleset>

0 comments on commit 4424fad

Please sign in to comment.