Skip to content

Merge pull request #855 from camptocamp/renovate/master-patch-all-pat… #241

Merge pull request #855 from camptocamp/renovate/master-patch-all-pat…

Merge pull request #855 from camptocamp/renovate/master-patch-all-pat… #241

Workflow file for this run

name: Changelog Generator
on:
schedule:
- cron: '0 0 * * 1'
push:
tags:
- '*.*.*'
jobs:
changelog:
name: Changelog Generator
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
if: github.event_name == 'push' && github.ref_type == 'tag'
- name: Create release
run: |
if [[ ${{ github.ref_name }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
gh release create ${{ github.ref_name }} --generate-notes || true
fi
if: github.event_name == 'push' && github.ref_type == 'tag'
env:
GH_TOKEN: ${{ github.token }}
- name: Get Date
id: get-date
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: |
automation-
- run: docker pull aeonphp/automation
- name: Generate changelog
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
-v
env:
AEON_AUTOMATION_GH_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}