Skip to content

Commit

Permalink
Merge pull request #2157 from camptocamp/c2cciutils-upgrade-1.20
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Nov 30, 2023
2 parents ae67a24 + 34390a3 commit 1b7116d
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 302 deletions.
98 changes: 0 additions & 98 deletions .github/renovate.json5

This file was deleted.

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

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/auto-review.yaml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
if: github.event_name == 'push' && github.ref_type == 'tag'
- name: Create release
run: |
run: |-
if [[ ${{ github.ref_name }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
gh release create ${{ github.ref_name }} --generate-notes || true
fi
Expand All @@ -27,23 +27,25 @@ jobs:

- 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 }}
26 changes: 26 additions & 0 deletions .github/workflows/dependency-auto-review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
if: github.event.pull_request.user.login == 'renovate[bot]'

steps:
- name: Auto reviews updates
uses: golfzaptw/action-auto-reviews-from-branches@master
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
})
1 change: 1 addition & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
name: Pull request check
runs-on: ubuntu-22.04
timeout-minutes: 5
if: github.event.pull_request.user.login != 'renovate[bot]'

steps:
- run: pip install --upgrade attrs
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/rebuild-115.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/rebuild.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/mheap/json-schema-spell-checker
rev: master
rev: main
hooks:
- id: json-schema-spell-checker
files: tilecloud_chain/schema.json
Expand Down
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.10/c2cciutils/schema.json

publish:
docker:
Expand Down

0 comments on commit 1b7116d

Please sign in to comment.