-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (48 loc) · 1.48 KB
/
autochangelog.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
39
40
41
42
43
44
45
46
47
48
#name: Auto Changelog
#on:
# push:
# branches:
# - main
# - release*
# - pan_feedback
##name: autochangelog
##
##on:
## repository_dispatch:
## types: [autochangelog]
#
#jobs:
# push:
# name: Push Container
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v2
# with:
# fetch-depth: '0'
# - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# - name: autochangelog-action
# id: ac
# uses: rubenfiszel/autochangelog-action@v0.16.0
# with:
# changelog_file: './CHANGELOG.md'
# manifest_file: './manifest.yaml'
# dry_run: false
# issues_url_prefix: 'https://github.com/org/repo/issues/'
# tag_prefix: 'v'
# - name: Create Pull Request
# id: cpr
# uses: peter-evans/create-pull-request@v2
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# commit-message: 'Update changelog and manifest'
# title: 'ci: release ${{ steps.ac.outputs.version }}'
# body: |
# Release [${{ steps.ac.outputs.version }}](https://github.com/org/repo/releases/tag/v${{ steps.ac.outputs.version }})
# labels: autorelease
# branch: automatic-release-prs
# reviewers: your-reviewers-list
# - name: Check outputs
# run: |
# echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}"
# echo "Pull Request Number - ${{ steps.cpr.outputs.pr_number }}"