-
Notifications
You must be signed in to change notification settings - Fork 107
38 lines (31 loc) · 1.17 KB
/
changelog-update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "Changelog - Update Unreleased"
###################################################################
# WARNING - THIS ACTION WILL PUSH COMMIT DIRECTLY INTO REPOSITORY #
###################################################################
on:
push:
branches:
- 5.x
jobs:
changelog-update-unreleased:
name: "Changelog - Update Unreleased"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Restore Automation cache"
uses: "actions/cache@v2"
with:
path: |
cache
key: "${{ runner.os }}-automation-${{ hashFiles('**/CHANGELOG.md') }}"
restore-keys: |
${{ runner.os }}-automation-
- name: "Update CHANGELOG"
uses: "docker://aeonphp/automation:latest"
env:
AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
EON_AUTOMATION_CACHE_DIR: "/github/workspace/cache"
with:
entrypoint: "/composer/vendor/bin/automation"
args: "changelog:generate ${{ github.repository }} --github-file-update-path=CHANGELOG.md --skip-from=\"dependabot[bot]\" --skip-from=\"aeon-automation\""