diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml deleted file mode 100644 index 36b7aa1f099c..000000000000 --- a/.github/workflows/audit.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: Audit - -on: - schedule: - - cron: '30 2 * * *' - -jobs: - audit: - runs-on: ubuntu-22.04 - name: Audit - timeout-minutes: 15 - - strategy: - fail-fast: false - matrix: - branch: - - '2.4' - - '2.5' - - '2.6' - - master - - steps: - - run: sudo npm install -g npm@6 - - - run: | - sudo rm /etc/apt/sources.list.d/*.list - sudo apt update - sudo apt install g++-10 libgbm1 graphicsmagick fonts-liberation2 - - - uses: actions/checkout@v2 - with: - ref: ${{ matrix.branch }} - - - uses: camptocamp/initialise-gopass-summon-action@v2 - with: - ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}} - github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} - - - run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} - - run: python3 -m pip install --user --pre c2cciutils - - - name: Audit - run: c2cciutils-audit --branch=${{ matrix.branch }} diff --git a/.github/workflows/auto-review.yaml b/.github/workflows/auto-review.yaml deleted file mode 100644 index 342c350ff077..000000000000 --- a/.github/workflows/auto-review.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Auto reviews updates - -on: - pull_request: - types: - - opened - - reopened - - synchronize - -jobs: - auto-merge: - name: Auto reviews updates - runs-on: ubuntu-22.04 - timeout-minutes: 5 - - steps: - - name: Auto reviews updates - uses: golfzaptw/action-auto-reviews-from-branches@master - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - AUTHOR: renovate[bot] diff --git a/.github/workflows/dependency-auto-review.yaml b/.github/workflows/dependency-auto-review.yaml new file mode 100644 index 000000000000..d09719021d91 --- /dev/null +++ b/.github/workflows/dependency-auto-review.yaml @@ -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]' diff --git a/ci/config.yaml b/ci/config.yaml index b2fba7dfafb6..ee8aa655fcf1 100644 --- a/ci/config.yaml +++ b/ci/config.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/master/c2cciutils/schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/1.3.19/c2cciutils/schema.json checks: required_workflows: