Skip to content

Commit

Permalink
Merge pull request #1303 from camptocamp/c2cciutils-upgrade-1.6
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Oct 10, 2023
2 parents 0846193 + b9e26df commit ee0d60f
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 196 deletions.
106 changes: 0 additions & 106 deletions .github/renovate.json5

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/audit.yaml

This file was deleted.

18 changes: 10 additions & 8 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Changelog Generator

on:
schedule:
- cron: '0 0 * * 1,4'
push:
tags:
- '*.*.*'
- cron: 0 0 * * 1,4
repository_dispatch:
types:
- changelog

jobs:
changelog:
Expand All @@ -16,23 +16,25 @@ jobs:
steps:
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d%H%M%S")" >> $GITHUB_OUTPUT
run: echo "date=$(/bin/date -u "+%Y%m%d%H%M%S")" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: .cache
key: automation-${{ steps.get-date.outputs.date }}
restore-keys: |
restore-keys: |+
automation-
- run: docker pull aeonphp/automation
- name: Generate changelog
run: >
run: >-
docker run --env=AEON_AUTOMATION_GH_TOKEN --rm --volume=$(pwd)/.cache:/cache aeonphp/automation
changelog:generate:all
${{ github.repository }}
--github-release-update
--cache-path=/cache
--skip-from=dependabot-preview[bot]
--skip-from=dependabot[bot]
--skip-from=renovate[bot]
-v
env:
AEON_AUTOMATION_GH_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
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]'
22 changes: 0 additions & 22 deletions .github/workflows/dependency-update-review.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion ci/config.yaml
Original file line number Diff line number Diff line change
@@ -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.6.0/c2cciutils/schema.json

audit:
snyk:
Expand Down

0 comments on commit ee0d60f

Please sign in to comment.