-
Notifications
You must be signed in to change notification settings - Fork 30
38 lines (32 loc) · 1.04 KB
/
changelog-ci.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 CI
# Trigger on pull request event
on:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Check out the repository content
- uses: actions/checkout@v2
# Run Changelog CI action
- name: Run Changelog CI
uses: saadmk11/[email protected]
with:
changelog_filename: CHANGELOG.md
committer_username: github-actions[bot]
committer_email: github-actions[bot]@users.noreply.github.com
config_file: changelog-config.yaml
# GitHub token for authorization
github_token: ${{ secrets.GITHUB_TOKEN }}
# Create a new release
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.run_number }}
# release_name: Release ${{ github.run_number }}
# draft: false
# prerelease: false