Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
This is done by the automated script named upgrade-c2cciutils-to-1.7
  • Loading branch information
sbrunner committed Oct 11, 2023
1 parent 6fcbe43 commit d3ebc1c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
regexManagers: [
{
fileMatch: ['^.pre-commit-config\\.yaml$'],
fileMatch: ['^\\.pre\\-commit\\-config\\.yaml$'],
matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"],
},
{
Expand All @@ -38,7 +38,7 @@
versioningTemplate: 'loose',
},
{
fileMatch: ['^ci/dpkg-versions\\.yaml$'],
fileMatch: ['^ci/dpkg\\-versions\\.yaml$'],
matchStrings: [" *(?<depName>[^'\\s]+): '?(?<currentValue>[^'\\s/]*[0-9][^'\\s/]*)'?"],
datasourceTemplate: 'repology',
versioningTemplate: 'loose',
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
types:
- closed

jobs:
clean:
runs-on: ubuntu-22.04
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/dependency-auto-review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto reviews updates

on:
pull_request:
types:
- opened
- reopened

jobs:
auto-merge:
name: Auto reviews updates
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
- uses: actions/github-script@v6
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
})
if: github.event.pull_request.user.login == 'renovate[bot]'
27 changes: 0 additions & 27 deletions .github/workflows/dependency-update-review.yaml

This file was deleted.

0 comments on commit d3ebc1c

Please sign in to comment.