Skip to content

Commit

Permalink
ci: fix renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jun 24, 2024
1 parent 903d121 commit cc21406
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/_renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,21 @@ jobs:
trigger-renovate:
if: >-
${{
github.actor != inputs.renovate_actor
&& (
(github.event.issue.title == inputs.dependencyDashboardTitle && github.event.issue.user.login == inputs.renovate_actor)
|| (
github.event.pull_request.user.login == inputs.renovate_actor
&& (
(github.event.action == 'labeled' && github.event.label.name == inputs.rebaseLabel)
|| (github.event.action == 'unlabeled' && github.event.label.name == inputs.stopUpdatingLabel)
|| contains(fromJSON('["edited", "closed", "synchronize"]'), github.event.action)
contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name)
|| (
github.actor != inputs.renovate_actor
&& (
(github.event.issue.title == inputs.dependencyDashboardTitle && github.event.issue.user.login == inputs.renovate_actor)
|| (
github.event.pull_request.user.login == inputs.renovate_actor
&& github.event.pull_request.merged == false
&& (
(github.event.action == 'labeled' && github.event.label.name == inputs.rebaseLabel)
|| (github.event.action == 'unlabeled' && github.event.label.name == inputs.stopUpdatingLabel)
|| contains(fromJSON('["edited", "closed", "synchronize"]'), github.event.action)
)
)
)
|| contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name)
)
}}
runs-on: ubuntu-latest
Expand Down

0 comments on commit cc21406

Please sign in to comment.