GithubHelp home page GithubHelp logo

saadmk11 / changelog-ci Goto Github PK

View Code? Open in Web Editor NEW
124.0 3.0 20.0 204 KB

Changelog CI is a GitHub Action that enables a project to automatically generate changelogs

Home Page: https://github.com/marketplace/actions/changelog-ci

License: MIT License

Dockerfile 1.44% Python 98.56%
ci continuous-integration continous-integration changelog change-detection changelog-generator github-actions github-api github python

changelog-ci's People

Contributors

austintraver avatar github-actions[bot] avatar saadmk11 avatar scherbakovx avatar thehedgefrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

changelog-ci's Issues

workflow_dispatch

Describe the bug

When I try to run an action manually, I end up with an error.
image
I tried to introduce different options: v1.0.0; 0.0.0; release v1.0.0; release_version v1.0.0.

Your Environment

**Workflow Run URL **
repository is private

name: Changelog CI

on:
  pull_request:
    types: [opened]

  # Optionally you can use `workflow_dispatch` to run Changelog CI Manually
  workflow_dispatch:
    inputs:
      release_version:
        description: "Set Release Version"
        required: true

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      # Checks-out your repository
      - uses: actions/checkout@v4
      # https://github.com/marketplace/actions/changelog-ci
      - name: Run Changelog CI
        uses: saadmk11/[email protected]
        with:
          config_file: .github/workflows/changelog-config.json

Contents of Changelog-CI Configuration File (If Applicable):

{
  "changelog_type": "commit_message",
  "header_prefix": "Version:",
  "commit_changelog": true,
  "comment_changelog": true,
  "include_unlabeled_changes": true,
  "unlabeled_group_title": "Unlabeled Changes",
  "exclude_labels": ["bot", "dependabot", "ci"],
  "group_config": [
    {
      "title": "Bug Fixes",
      "labels": ["bug", "bugfix"]
    },
    {
      "title": "Code Improvements",
      "labels": ["improvements", "enhancement"]
    },
    {
      "title": "New Features",
      "labels": ["feature"]
    },
    {
      "title": "Documentation Updates",
      "labels": ["docs", "documentation", "doc"]
    }
  ]
}

Expected behavior

I expect that when I manually run the action, it will create a changelog with all the commits and pull requests that are in the main branch from the previous release with the version that I specified.

Actual behavior

Error: release_version input must be provided to generate Changelog. Please Check the Documentation for more details. Aborting Changelog Generation

fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

I am facing an issue with using this action with an example flow from the readme. Note that

  • It is a private repo.
  • I am using triggers when an issue is changed.
  • We don't have a master branch it named main instead.
name: Changelog CI

# Controls when the action will run. Triggers the workflow on a pull request
on:
  pull_request:
    types: [opened, reopened]

  issues:
    types: [opened, edited]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      # Checks-out your repository
      - uses: actions/checkout@v2

      - name: Run Changelog CI
        uses: saadmk11/[email protected]
        with:
          changelog_filename: CHANGELOG.md
          config_file: changelog.json
        # Add this if you are using it on a private repository
        # Or if you have turned on commenting through the config file.
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

changlog.json

{
  "header_prefix": "Version:",
  "commit_changelog": true,
  "comment_changelog": true,
  "pull_request_title_regex": "^Release",
  "version_regex": "v?([0-9]{1,2})+[.]+([0-9]{1,2})+[.]+([0-9]{1,2})\\s\\(\\d{1,2}-\\d{1,2}-\\d{4}\\)",
  "group_config": [
    {
      "title": "Bug Fixes",
      "labels": ["bug", "bugfix"]
    },
    {
      "title": "Code Improvements",
      "labels": ["improvements", "enhancement"]
    },
    {
      "title": "New Features",
      "labels": ["feature"]
    },
    {
      "title": "Documentation Updates",
      "labels": ["docs", "documentation", "doc"]
    }
  ]
}

image

logs

2021-02-22T00:52:23.9245799Z ##[section]Starting: Request a runner to run this job
2021-02-22T00:52:23.9537536Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2021-02-22T00:52:24.0829193Z Can't find any online and idle self-hosted runner in current repository's organization/enterprise account that matches the required labels: 'ubuntu-latest'
2021-02-22T00:52:26.3873589Z Found online and idle hosted runner in current repository's enterprise account that matches the required labels: 'ubuntu-latest'
2021-02-22T00:52:26.5537826Z ##[section]Finishing: Request a runner to run this job
2021-02-22T00:52:33.5708672Z Current runner version: '2.277.1'
2021-02-22T00:52:33.5788063Z ##[group]Operating System
2021-02-22T00:52:33.5788980Z Ubuntu
2021-02-22T00:52:33.5789388Z 20.04.2
2021-02-22T00:52:33.5789803Z LTS
2021-02-22T00:52:33.5790245Z ##[endgroup]
2021-02-22T00:52:33.5790741Z ##[group]Virtual Environment
2021-02-22T00:52:33.5791477Z Environment: ubuntu-20.04
2021-02-22T00:52:33.5792296Z Version: 20210216.1
2021-02-22T00:52:33.5793370Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210216.1/images/linux/Ubuntu2004-README.md
2021-02-22T00:52:33.5794381Z ##[endgroup]
2021-02-22T00:52:33.5797018Z ##[group]GITHUB_TOKEN Permissions
2021-02-22T00:52:33.5798299Z Actions: write
2021-02-22T00:52:33.5798869Z Checks: write
2021-02-22T00:52:33.5799499Z Contents: write
2021-02-22T00:52:33.5800057Z Deployments: write
2021-02-22T00:52:33.5800646Z Issues: write
2021-02-22T00:52:33.5801718Z Metadata: read
2021-02-22T00:52:33.5802358Z OrganizationPackages: write
2021-02-22T00:52:33.5803140Z Packages: write
2021-02-22T00:52:33.5803817Z PullRequests: write
2021-02-22T00:52:33.5823791Z RepositoryProjects: write
2021-02-22T00:52:33.5824690Z SecurityEvents: write
2021-02-22T00:52:33.5825492Z Statuses: write
2021-02-22T00:52:33.5826188Z ##[endgroup]
2021-02-22T00:52:33.5829968Z Prepare workflow directory
2021-02-22T00:52:33.6614231Z Prepare all required actions
2021-02-22T00:52:33.6627150Z Getting action download info
2021-02-22T00:52:33.9069311Z Download action repository 'actions/checkout@v2'
2021-02-22T00:52:36.5461613Z Download action repository 'saadmk11/[email protected]'
2021-02-22T00:52:36.9788687Z ##[group]Build container for action use: '/home/runner/work/_actions/saadmk11/changelog-ci/v0.7.0/Dockerfile'.
2021-02-22T00:52:36.9868202Z ##[command]/usr/bin/docker build -t 5588e4:aba28d9fcbcc4b9393180b254a70adcf -f "/home/runner/work/_actions/saadmk11/changelog-ci/v0.7.0/Dockerfile" "/home/runner/work/_actions/saadmk11/changelog-ci/v0.7.0"
2021-02-22T00:52:38.5932664Z Sending build context to Docker daemon  43.01kB
2021-02-22T00:52:38.5933433Z 
2021-02-22T00:52:38.6539303Z Step 1/12 : FROM python:3.7
2021-02-22T00:52:39.0554132Z 3.7: Pulling from library/python
2021-02-22T00:52:39.3176328Z 0ecb575e629c: Already exists
2021-02-22T00:52:39.3382048Z 7467d1831b69: Already exists
2021-02-22T00:52:40.0472368Z feab2c490a3c: Already exists
2021-02-22T00:52:40.0474465Z f15a0f46f8c3: Already exists
2021-02-22T00:52:40.0474951Z 937782447ff6: Already exists
2021-02-22T00:52:40.0475413Z e78b7aaaab2c: Pulling fs layer
2021-02-22T00:52:40.0476354Z d6bffa7c00e3: Pulling fs layer
2021-02-22T00:52:40.0477094Z 20e485dc4919: Pulling fs layer
2021-02-22T00:52:40.0477591Z 640e66c20a5d: Pulling fs layer
2021-02-22T00:52:40.0478007Z 640e66c20a5d: Waiting
2021-02-22T00:52:40.0478459Z 20e485dc4919: Verifying Checksum
2021-02-22T00:52:40.0479102Z 20e485dc4919: Download complete
2021-02-22T00:52:40.0479826Z 640e66c20a5d: Verifying Checksum
2021-02-22T00:52:40.0480287Z 640e66c20a5d: Download complete
2021-02-22T00:52:40.0481018Z d6bffa7c00e3: Verifying Checksum
2021-02-22T00:52:40.0481895Z d6bffa7c00e3: Download complete
2021-02-22T00:52:40.0482422Z e78b7aaaab2c: Download complete
2021-02-22T00:52:40.0485993Z e78b7aaaab2c: Pull complete
2021-02-22T00:52:41.0449778Z d6bffa7c00e3: Pull complete
2021-02-22T00:52:41.0451166Z 20e485dc4919: Pull complete
2021-02-22T00:52:41.0691627Z 640e66c20a5d: Pull complete
2021-02-22T00:52:41.0845424Z Digest: sha256:0eabcfa9294fba2214278cc5419ac0f2c59103052400dc4fe5499b66e4c32cf7
2021-02-22T00:52:41.0967080Z Status: Downloaded newer image for python:3.7
2021-02-22T00:52:41.1027855Z  ---> 9c9ca311176f
2021-02-22T00:52:41.1047019Z Step 2/12 : LABEL "com.github.actions.name"="Changelog CI"
2021-02-22T00:52:43.5423522Z  ---> Running in 4ad61c2c3748
2021-02-22T00:52:48.5166960Z Removing intermediate container 4ad61c2c3748
2021-02-22T00:52:48.5167592Z  ---> b800b0bd72c5
2021-02-22T00:52:48.5176590Z Step 3/12 : LABEL "com.github.actions.description"="This is an action that commits on a release pull request with the changelog"
2021-02-22T00:52:48.6099451Z  ---> Running in 8fd65bfdf09e
2021-02-22T00:52:49.8362768Z Removing intermediate container 8fd65bfdf09e
2021-02-22T00:52:49.8363383Z  ---> 828283f18607
2021-02-22T00:52:49.8363902Z Step 4/12 : LABEL "com.github.actions.icon"="clock"
2021-02-22T00:52:49.9372606Z  ---> Running in ed1cd93d8b97
2021-02-22T00:52:51.1537645Z Removing intermediate container ed1cd93d8b97
2021-02-22T00:52:51.1542288Z  ---> 4b68bd09c30a
2021-02-22T00:52:51.1542957Z Step 5/12 : LABEL "com.github.actions.color"="blue"
2021-02-22T00:52:51.2460941Z  ---> Running in a5d75049ea6a
2021-02-22T00:52:52.4419156Z Removing intermediate container a5d75049ea6a
2021-02-22T00:52:52.4420622Z  ---> 99922ccd8bbf
2021-02-22T00:52:52.4421945Z Step 6/12 : LABEL "repository"="https://github.com/saadmk11/changelog-ci"
2021-02-22T00:52:52.5506793Z  ---> Running in 6e21f5c8a2aa
2021-02-22T00:52:53.7197268Z Removing intermediate container 6e21f5c8a2aa
2021-02-22T00:52:53.7198125Z  ---> d08e6e5d939c
2021-02-22T00:52:53.7198761Z Step 7/12 : LABEL "homepage"="https://github.com/saadmk11/changelog-ci"
2021-02-22T00:52:53.8165741Z  ---> Running in 79941441d318
2021-02-22T00:52:55.0164867Z Removing intermediate container 79941441d318
2021-02-22T00:52:55.0165454Z  ---> 8507da503d5b
2021-02-22T00:52:55.0165902Z Step 8/12 : LABEL "maintainer"="saadmk11"
2021-02-22T00:52:55.1253370Z  ---> Running in 3314423fd2f2
2021-02-22T00:52:56.3607220Z Removing intermediate container 3314423fd2f2
2021-02-22T00:52:56.3608548Z  ---> c33f3ba44297
2021-02-22T00:52:56.3609337Z Step 9/12 : RUN pip install requests
2021-02-22T00:52:56.5320615Z  ---> Running in c4c0e0505fd1
2021-02-22T00:52:59.5188811Z Collecting requests
2021-02-22T00:52:59.5794218Z   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
2021-02-22T00:52:59.6528131Z Collecting chardet<5,>=3.0.2
2021-02-22T00:52:59.6688667Z   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
2021-02-22T00:52:59.7700607Z Collecting idna<3,>=2.5
2021-02-22T00:52:59.7843596Z   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
2021-02-22T00:52:59.9132833Z Collecting urllib3<1.27,>=1.21.1
2021-02-22T00:52:59.9280270Z   Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
2021-02-22T00:53:00.0464078Z Collecting certifi>=2017.4.17
2021-02-22T00:53:00.0630026Z   Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
2021-02-22T00:53:00.1828722Z Installing collected packages: urllib3, idna, chardet, certifi, requests
2021-02-22T00:53:00.6900758Z Successfully installed certifi-2020.12.5 chardet-4.0.0 idna-2.10 requests-2.25.1 urllib3-1.26.3
2021-02-22T00:53:03.1236933Z Removing intermediate container c4c0e0505fd1
2021-02-22T00:53:03.1238151Z  ---> f85fece99450
2021-02-22T00:53:03.1239005Z Step 10/12 : COPY ./scripts/changelog-ci.py /changelog-ci.py
2021-02-22T00:53:04.5238699Z  ---> 25d8760d6d8a
2021-02-22T00:53:04.5239257Z Step 11/12 : RUN ["chmod", "+x", "/changelog-ci.py"]
2021-02-22T00:53:04.5944334Z  ---> Running in 3904cacd0fff
2021-02-22T00:53:06.4373739Z Removing intermediate container 3904cacd0fff
2021-02-22T00:53:06.4374390Z  ---> 2db6e8eca561
2021-02-22T00:53:06.4374939Z Step 12/12 : ENTRYPOINT ["python", "/changelog-ci.py"]
2021-02-22T00:53:07.0538624Z  ---> Running in 4e4c87f9d0b7
2021-02-22T00:53:07.7654951Z Removing intermediate container 4e4c87f9d0b7
2021-02-22T00:53:07.7655859Z  ---> b909bc16bdcc
2021-02-22T00:53:07.7657302Z Successfully built b909bc16bdcc
2021-02-22T00:53:07.8316300Z Successfully tagged 5588e4:aba28d9fcbcc4b9393180b254a70adcf
2021-02-22T00:53:07.8352222Z ##[endgroup]
2021-02-22T00:53:07.8649288Z ##[group]Run actions/checkout@v2
2021-02-22T00:53:07.8649826Z with:
2021-02-22T00:53:07.8650234Z   repository: projectarcher/nlu
2021-02-22T00:53:07.8651129Z   token: ***
2021-02-22T00:53:07.8651493Z   ssh-strict: true
2021-02-22T00:53:07.8651949Z   persist-credentials: true
2021-02-22T00:53:07.8652641Z   clean: true
2021-02-22T00:53:07.8653023Z   fetch-depth: 1
2021-02-22T00:53:07.8653523Z   lfs: false
2021-02-22T00:53:07.8654129Z   submodules: false
2021-02-22T00:53:07.8654623Z ##[endgroup]
2021-02-22T00:53:09.2733546Z Syncing repository: projectarcher/nlu
2021-02-22T00:53:09.3064527Z ##[group]Getting Git version info
2021-02-22T00:53:09.3065934Z Working directory is '/home/runner/work/nlu/nlu'
2021-02-22T00:53:09.3123331Z [command]/usr/bin/git version
2021-02-22T00:53:09.5316735Z git version 2.30.0
2021-02-22T00:53:09.5349716Z ##[endgroup]
2021-02-22T00:53:09.5357644Z Deleting the contents of '/home/runner/work/nlu/nlu'
2021-02-22T00:53:09.5364735Z ##[group]Initializing the repository
2021-02-22T00:53:09.5370873Z [command]/usr/bin/git init /home/runner/work/nlu/nlu
2021-02-22T00:53:09.5637983Z hint: Using 'master' as the name for the initial branch. This default branch name
2021-02-22T00:53:09.5639390Z hint: is subject to change. To configure the initial branch name to use in all
2021-02-22T00:53:09.5640719Z hint: of your new repositories, which will suppress this warning, call:
2021-02-22T00:53:09.5642180Z hint: 
2021-02-22T00:53:09.5643408Z hint: 	git config --global init.defaultBranch <name>
2021-02-22T00:53:09.5644041Z hint: 
2021-02-22T00:53:09.5644997Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2021-02-22T00:53:09.5646118Z hint: 'development'. The just-created branch can be renamed via this command:
2021-02-22T00:53:09.5646871Z hint: 
2021-02-22T00:53:09.5647594Z hint: 	git branch -m <name>
2021-02-22T00:53:09.5652403Z Initialized empty Git repository in /home/runner/work/nlu/nlu/.git/
2021-02-22T00:53:09.5663292Z [command]/usr/bin/git remote add origin https://github.com/projectarcher/nlu
2021-02-22T00:53:09.5758147Z ##[endgroup]
2021-02-22T00:53:09.5759548Z ##[group]Disabling automatic garbage collection
2021-02-22T00:53:09.5769577Z [command]/usr/bin/git config --local gc.auto 0
2021-02-22T00:53:09.5844405Z ##[endgroup]
2021-02-22T00:53:09.5850357Z ##[group]Setting up auth
2021-02-22T00:53:09.5858838Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-02-22T00:53:09.5895355Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-02-22T00:53:09.8769845Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-02-22T00:53:09.8816431Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-02-22T00:53:09.9086351Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2021-02-22T00:53:09.9136228Z ##[endgroup]
2021-02-22T00:53:09.9140725Z ##[group]Fetching the repository
2021-02-22T00:53:09.9148224Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +e1fdc3e92b075eb61ffb4f6dd0ed71a887ac6ca3:refs/remotes/origin/main
2021-02-22T00:53:10.2539326Z remote: Enumerating objects: 52, done.        
2021-02-22T00:53:10.2541117Z remote: Counting objects:   1% (1/52)        
2021-02-22T00:53:10.2543626Z remote: Counting objects:   3% (2/52)        
2021-02-22T00:53:10.2544667Z remote: Counting objects:   5% (3/52)        
2021-02-22T00:53:10.2546087Z remote: Counting objects:   7% (4/52)        
2021-02-22T00:53:10.2548498Z remote: Counting objects:   9% (5/52)        
2021-02-22T00:53:10.2549836Z remote: Counting objects:  11% (6/52)        
2021-02-22T00:53:10.2556125Z remote: Counting objects:  13% (7/52)        
2021-02-22T00:53:10.2557043Z remote: Counting objects:  15% (8/52)        
2021-02-22T00:53:10.2557666Z remote: Counting objects:  17% (9/52)        
2021-02-22T00:53:10.2558372Z remote: Counting objects:  19% (10/52)        
2021-02-22T00:53:10.2558987Z remote: Counting objects:  21% (11/52)        
2021-02-22T00:53:10.2559528Z remote: Counting objects:  23% (12/52)        
2021-02-22T00:53:10.2560143Z remote: Counting objects:  25% (13/52)        
2021-02-22T00:53:10.2560687Z remote: Counting objects:  26% (14/52)        
2021-02-22T00:53:10.2561680Z remote: Counting objects:  28% (15/52)        
2021-02-22T00:53:10.2562483Z remote: Counting objects:  30% (16/52)        
2021-02-22T00:53:10.2563257Z remote: Counting objects:  32% (17/52)        
2021-02-22T00:53:10.2563882Z remote: Counting objects:  34% (18/52)        
2021-02-22T00:53:10.2564568Z remote: Counting objects:  36% (19/52)        
2021-02-22T00:53:10.2565158Z remote: Counting objects:  38% (20/52)        
2021-02-22T00:53:10.2565716Z remote: Counting objects:  40% (21/52)        
2021-02-22T00:53:10.2566299Z remote: Counting objects:  42% (22/52)        
2021-02-22T00:53:10.2566834Z remote: Counting objects:  44% (23/52)        
2021-02-22T00:53:10.2567442Z remote: Counting objects:  46% (24/52)        
2021-02-22T00:53:10.2568234Z remote: Counting objects:  48% (25/52)        
2021-02-22T00:53:10.2570279Z remote: Counting objects:  50% (26/52)        
2021-02-22T00:53:10.2571481Z remote: Counting objects:  51% (27/52)        
2021-02-22T00:53:10.2572238Z remote: Counting objects:  53% (28/52)        
2021-02-22T00:53:10.2572852Z remote: Counting objects:  55% (29/52)        
2021-02-22T00:53:10.2573432Z remote: Counting objects:  57% (30/52)        
2021-02-22T00:53:10.2574229Z remote: Counting objects:  59% (31/52)        
2021-02-22T00:53:10.2574825Z remote: Counting objects:  61% (32/52)        
2021-02-22T00:53:10.2575443Z remote: Counting objects:  63% (33/52)        
2021-02-22T00:53:10.2575924Z remote: Counting objects:  65% (34/52)        
2021-02-22T00:53:10.2576462Z remote: Counting objects:  67% (35/52)        
2021-02-22T00:53:10.2577099Z remote: Counting objects:  69% (36/52)        
2021-02-22T00:53:10.2577678Z remote: Counting objects:  71% (37/52)        
2021-02-22T00:53:10.2578195Z remote: Counting objects:  73% (38/52)        
2021-02-22T00:53:10.2578833Z remote: Counting objects:  75% (39/52)        
2021-02-22T00:53:10.2579416Z remote: Counting objects:  76% (40/52)        
2021-02-22T00:53:10.2579979Z remote: Counting objects:  78% (41/52)        
2021-02-22T00:53:10.2580577Z remote: Counting objects:  80% (42/52)        
2021-02-22T00:53:10.2581112Z remote: Counting objects:  82% (43/52)        
2021-02-22T00:53:10.2581692Z remote: Counting objects:  84% (44/52)        
2021-02-22T00:53:10.2582226Z remote: Counting objects:  86% (45/52)        
2021-02-22T00:53:10.2582835Z remote: Counting objects:  88% (46/52)        
2021-02-22T00:53:10.2583390Z remote: Counting objects:  90% (47/52)        
2021-02-22T00:53:10.2584053Z remote: Counting objects:  92% (48/52)        
2021-02-22T00:53:10.2584929Z remote: Counting objects:  94% (49/52)        
2021-02-22T00:53:10.2585552Z remote: Counting objects:  96% (50/52)        
2021-02-22T00:53:10.2586233Z remote: Counting objects:  98% (51/52)        
2021-02-22T00:53:10.2586794Z remote: Counting objects: 100% (52/52)        
2021-02-22T00:53:10.2587442Z remote: Counting objects: 100% (52/52), done.        
2021-02-22T00:53:10.2588029Z remote: Compressing objects:   2% (1/45)        
2021-02-22T00:53:10.2588668Z remote: Compressing objects:   4% (2/45)        
2021-02-22T00:53:10.2589248Z remote: Compressing objects:   6% (3/45)        
2021-02-22T00:53:10.2589828Z remote: Compressing objects:   8% (4/45)        
2021-02-22T00:53:10.2590507Z remote: Compressing objects:  11% (5/45)        
2021-02-22T00:53:10.2591961Z remote: Compressing objects:  13% (6/45)        
2021-02-22T00:53:10.2592786Z remote: Compressing objects:  15% (7/45)        
2021-02-22T00:53:10.2593507Z remote: Compressing objects:  17% (8/45)        
2021-02-22T00:53:10.2594157Z remote: Compressing objects:  20% (9/45)        
2021-02-22T00:53:10.2594807Z remote: Compressing objects:  22% (10/45)        
2021-02-22T00:53:10.2595445Z remote: Compressing objects:  24% (11/45)        
2021-02-22T00:53:10.2596031Z remote: Compressing objects:  26% (12/45)        
2021-02-22T00:53:10.2596659Z remote: Compressing objects:  28% (13/45)        
2021-02-22T00:53:10.2716163Z remote: Compressing objects:  31% (14/45)        
2021-02-22T00:53:10.2716940Z remote: Compressing objects:  33% (15/45)        
2021-02-22T00:53:10.2717496Z remote: Compressing objects:  35% (16/45)        
2021-02-22T00:53:10.2718055Z remote: Compressing objects:  37% (17/45)        
2021-02-22T00:53:10.2718808Z remote: Compressing objects:  40% (18/45)        
2021-02-22T00:53:10.2719438Z remote: Compressing objects:  42% (19/45)        
2021-02-22T00:53:10.2719943Z remote: Compressing objects:  44% (20/45)        
2021-02-22T00:53:10.2720680Z remote: Compressing objects:  46% (21/45)        
2021-02-22T00:53:10.2721447Z remote: Compressing objects:  48% (22/45)        
2021-02-22T00:53:10.2722023Z remote: Compressing objects:  51% (23/45)        
2021-02-22T00:53:10.2722651Z remote: Compressing objects:  53% (24/45)        
2021-02-22T00:53:10.2723156Z remote: Compressing objects:  55% (25/45)        
2021-02-22T00:53:10.2723668Z remote: Compressing objects:  57% (26/45)        
2021-02-22T00:53:10.2767987Z remote: Compressing objects:  60% (27/45)        
2021-02-22T00:53:10.2776483Z remote: Compressing objects:  62% (28/45)        
2021-02-22T00:53:10.2777066Z remote: Compressing objects:  64% (29/45)        
2021-02-22T00:53:10.2777612Z remote: Compressing objects:  66% (30/45)        
2021-02-22T00:53:10.2778160Z remote: Compressing objects:  68% (31/45)        
2021-02-22T00:53:10.2778736Z remote: Compressing objects:  71% (32/45)        
2021-02-22T00:53:10.2779280Z remote: Compressing objects:  73% (33/45)        
2021-02-22T00:53:10.2779849Z remote: Compressing objects:  75% (34/45)        
2021-02-22T00:53:10.2780401Z remote: Compressing objects:  77% (35/45)        
2021-02-22T00:53:10.2780961Z remote: Compressing objects:  80% (36/45)        
2021-02-22T00:53:10.2782429Z remote: Compressing objects:  82% (37/45)        
2021-02-22T00:53:10.2786245Z remote: Compressing objects:  84% (38/45)        
2021-02-22T00:53:10.2786770Z remote: Compressing objects:  86% (39/45)        
2021-02-22T00:53:10.2787297Z remote: Compressing objects:  88% (40/45)        
2021-02-22T00:53:10.2787948Z remote: Compressing objects:  91% (41/45)        
2021-02-22T00:53:10.2788469Z remote: Compressing objects:  93% (42/45)        
2021-02-22T00:53:10.2789002Z remote: Compressing objects:  95% (43/45)        
2021-02-22T00:53:10.2789558Z remote: Compressing objects:  97% (44/45)        
2021-02-22T00:53:10.2790085Z remote: Compressing objects: 100% (45/45)        
2021-02-22T00:53:10.2790639Z remote: Compressing objects: 100% (45/45), done.        
2021-02-22T00:53:10.2793069Z remote: Total 52 (delta 2), reused 30 (delta 0), pack-reused 0        
2021-02-22T00:53:10.3412388Z From https://github.com/projectarcher/nlu
2021-02-22T00:53:10.3414083Z  * [new ref]         e1fdc3e92b075eb61ffb4f6dd0ed71a887ac6ca3 -> origin/main
2021-02-22T00:53:10.3497135Z ##[endgroup]
2021-02-22T00:53:10.3497939Z ##[group]Determining the checkout info
2021-02-22T00:53:10.3499229Z ##[endgroup]
2021-02-22T00:53:10.3499788Z ##[group]Checking out the ref
2021-02-22T00:53:10.3505765Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2021-02-22T00:53:10.3701513Z Switched to a new branch 'main'
2021-02-22T00:53:10.3702770Z Branch 'main' set up to track remote branch 'main' from 'origin'.
2021-02-22T00:53:10.3703661Z ##[endgroup]
2021-02-22T00:53:10.3793051Z [command]/usr/bin/git log -1 --format='%H'
2021-02-22T00:53:10.3822969Z 'e1fdc3e92b075eb61ffb4f6dd0ed71a887ac6ca3'
2021-02-22T00:53:10.4063730Z ##[group]Run saadmk11/[email protected]
2021-02-22T00:53:10.4064225Z with:
2021-02-22T00:53:10.4065069Z   changelog_filename: CHANGELOG.md
2021-02-22T00:53:10.4065538Z   config_file: changelog.json
2021-02-22T00:53:10.4066046Z   committer_username: github-actions[bot]
2021-02-22T00:53:10.4066731Z   committer_email: 41898282+github-actions[bot]@users.noreply.github.com
2021-02-22T00:53:10.4067279Z env:
2021-02-22T00:53:10.4068492Z   GITHUB_TOKEN: ***
2021-02-22T00:53:10.4068843Z ##[endgroup]
2021-02-22T00:53:10.4109648Z ##[command]/usr/bin/docker run --name e4aba28d9fcbcc4b9393180b254a70adcf_1ab439 --label 5588e4 --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_CHANGELOG_FILENAME -e INPUT_CONFIG_FILE -e INPUT_COMMITTER_USERNAME -e INPUT_COMMITTER_EMAIL -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/nlu/nlu":"/github/workspace" 5588e4:aba28d9fcbcc4b9393180b254a70adcf
2021-02-22T00:53:11.1238408Z ##[group]Checkout git repository
2021-02-22T00:53:13.0631363Z From https://github.com/projectarcher/nlu
2021-02-22T00:53:13.0632977Z  * branch            HEAD       -> FETCH_HEAD
2021-02-22T00:53:13.0813255Z fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
2021-02-22T00:53:13.0831432Z ##[endgroup]
2021-02-22T00:53:13.0849153Z ##[group]Configure Git
2021-02-22T00:53:13.0912999Z ##[endgroup]
2021-02-22T00:53:13.0929623Z ##[group]Generate Changelog
2021-02-22T00:53:13.0950676Z Traceback (most recent call last):
2021-02-22T00:53:13.0951927Z   File "/changelog-ci.py", line 571, in <module>
2021-02-22T00:53:13.0952554Z     config_file=config_file, token=token
2021-02-22T00:53:13.0974049Z   File "/changelog-ci.py", line 29, in __init__
2021-02-22T00:53:13.0974901Z     title, number = self._get_pull_request_title_and_number(event_path)
2021-02-22T00:53:13.0975927Z   File "/changelog-ci.py", line 60, in _get_pull_request_title_and_number
2021-02-22T00:53:13.0976764Z     title = data["pull_request"]['title']
2021-02-22T00:53:13.0977389Z KeyError: 'pull_request'
2021-02-22T00:53:13.3327500Z Post job cleanup.
2021-02-22T00:53:13.4421055Z [command]/usr/bin/git version
2021-02-22T00:53:13.4517086Z git version 2.30.0
2021-02-22T00:53:13.4564458Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-02-22T00:53:13.4608663Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-02-22T00:53:13.4919148Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-02-22T00:53:13.4953855Z http.https://github.com/.extraheader
2021-02-22T00:53:13.4962619Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-02-22T00:53:13.5000811Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-02-22T00:53:13.5378619Z Cleaning up orphan processes

Deprecated config in `setup.cfg`

Describe the bug

The action just stopped working one day...
Came to run changelog workflow in a repo where it exists already some months and the Docker step fails

Your Environment

Workflow Run URL (if Public Repository):
(Example: https://github.com/saadmk11/changelog-ci/actions/runs/1350256604)
Contents of Your Changelog-CI Workflow File (.yaml File):

name: Changelog CI

on:
  push:
    branches:
      - "release/**"
    paths-ignore:
      - "*.md"

  workflow_call:
  workflow_dispatch:

jobs:
  generate_changelog:
    runs-on: large-ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Install GitVersion
        uses: gittools/actions/gitversion/[email protected]
        with:
          versionSpec: "5.12.0"

      - name: Determine Version
        id: gitversion
        uses: gittools/actions/gitversion/[email protected]

      - name: Run Changelog CI
        uses: saadmk11/[email protected]
        with:
          config_file: .github/config/changelog-config.yaml
          release_version: ${{ steps.gitversion.outputs.majorMinorPatch }}
          github_token: ${{ secrets.GITHUB_TOKEN  }}

Contents of Changelog-CI Configuration File (If Applicable):

changelog_type: "pull_request"
header_prefix: "Version:"
commit_changelog: true
comment_changelog: false
include_unlabeled_changes: true
unlabeled_group_title: "Changes"
pull_request_title_regex: ".*"
version_regex: ".*"
group_config:
  - title: Grafana Agent
    labels:
      - grafana-agent
  - title: Grafana Agent Operator
    labels:
      - grafana-agent-operator
  - title: Grafana Mimir
    labels:
      - grafana-mimir
  - title: Kowl
    labels:
      - kowl
  - title: Kube Downscaler
    labels:
      - kube-downscaler
  - title: Kubecost
    labels:
      - kubecost
  - title: Lightstreamer
    labels:
      - lightstreamer
  - title: Lightstreamer Proxy
    labels:
      - lightstreamerproxy
  - title: mFas
    labels:
      - mfas
  - title: OM2 Application RBAC
    labels:
      - om2-app-rbac
  - title: OM2 Webserver
    labels:
      - om2-webserver
  - title: TOMS
    labels:
      - toms
  - title: Vault Template
    labels:
      - vault-template

Expected behavior

Changelog should run and successfully generate changelog in PR against Release ranch.

Actual behavior

Step fails during docker build due to The license_file parameter is deprecated, use license_files instead.

Additional context

 ---> 8fab4e3a7bc3
  Step 10/14 : COPY ./requirements.txt .
   ---> c722923b71d1
  Step 11/14 : RUN pip install -r requirements.txt
   ---> Running in f134e2694a82
  Collecting PyYAML~=5.4.1
    Downloading PyYAML-5.4.1.tar.gz (175 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 KB 36.0 MB/s eta 0:00:00
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'error'
    error: subprocess-exited-with-error
    
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [62 lines of output]
        /tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
        !!
        
                ********************************************************************************
                The license_file parameter is deprecated, use license_files instead.
        
                By 2023-Oct-30, you need to update your project and remove deprecated calls
                or your builds will no longer be supported.
        
                See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                ********************************************************************************
        
        !!
          parsed = self.parsers.get(option_name, lambda x: x)(value)
        running egg_info
        writing lib3/PyYAML.egg-info/PKG-INFO
        writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
        writing top-level names to lib3/PyYAML.egg-info/top_level.txt
        Traceback (most recent call last):
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
            main()
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
            return hook(config_settings)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
            return self._get_build_requires(config_settings, requirements=['wheel'])
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
            self.run_setup()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
            exec(code, locals())
          File "<string>", line 271, in <module>
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
            return distutils.core.setup(**attrs)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
            return run_commands(dist)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
            dist.run_commands()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
            self.run_command(cmd)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
            super().run_command(command)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
            cmd_obj.run()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 314, in run
            self.find_sources()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
            mm.run()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 551, in run
            self.add_defaults()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
            sdist.add_defaults(self)
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
            super().add_defaults()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
            self._add_defaults_ext()
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
            self.filelist.extend(build_ext.get_source_files())
          File "<string>", line 201, in get_source_files
          File "/tmp/pip-build-env-_i02_h0g/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
            raise AttributeError(attr)
        AttributeError: cython_sources
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  WARNING: You are using pip version 22.0.4; however, version 23.2.1 is available.
  You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
  The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
  
  Warning: Docker build failed with exit code 1, back off 9.452 seconds before retry.
  /usr/bin/docker build -t d94681:d199bc0e68d341b18937ec45bd5e3f4d -f "/home/runner/work/_actions/saadmk11/changelog-ci/v1.1.1/Dockerfile" "/home/runner/work/_actions/saadmk11/changelog-ci/v1.1.1"
  Sending build context to Docker daemon  57.34kB
  
  Step 1/14 : FROM python:3.10.5-slim-buster
   ---> 71847a102b24
  Step 2/14 : LABEL "com.github.actions.name"="Changelog CI"
   ---> Using cache
   ---> f870fbe05d86
  Step 3/14 : LABEL "com.github.actions.description"="Changelog CI is a GitHub Action that generates changelog, Then the changelog is committed and/or commented to the release Pull request."
   ---> Using cache
   ---> 7d943e09cef6
  Step 4/14 : LABEL "com.github.actions.icon"="clock"
   ---> Using cache
   ---> f8fa69fd6c7c
  Step 5/14 : LABEL "com.github.actions.color"="blue"
   ---> Using cache
   ---> 111c4c10ca90
  Step 6/14 : LABEL "repository"="https://github.com/saadmk11/changelog-ci"
   ---> Using cache
   ---> ff57dc18f44a
  Step 7/14 : LABEL "homepage"="https://github.com/saadmk11/changelog-ci"
   ---> Using cache
   ---> f3b2e7844907
  Step 8/14 : LABEL "maintainer"="saadmk11"
   ---> Using cache
   ---> eeb14ca91c4a
  Step 9/14 : RUN apt-get update     && apt-get install        -y        --no-install-recommends        --no-install-suggests        git     && apt-get clean     && rm -rf /var/lib/apt/lists/*
   ---> Using cache
   ---> 8fab4e3a7bc3
  Step 10/14 : COPY ./requirements.txt .
   ---> Using cache
   ---> c722923b71d1
  Step 11/14 : RUN pip install -r requirements.txt
   ---> Running in 33b07b08459f
  Collecting PyYAML~=5.4.1
    Downloading PyYAML-5.4.1.tar.gz (175 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 KB 34.7 MB/s eta 0:00:00
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'error'
    error: subprocess-exited-with-error
    
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [62 lines of output]
        /tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
        !!
        
                ********************************************************************************
                The license_file parameter is deprecated, use license_files instead.
        
                By 2023-Oct-30, you need to update your project and remove deprecated calls
                or your builds will no longer be supported.
        
                See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                ********************************************************************************
        
        !!
          parsed = self.parsers.get(option_name, lambda x: x)(value)
        running egg_info
        writing lib3/PyYAML.egg-info/PKG-INFO
        writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
        writing top-level names to lib3/PyYAML.egg-info/top_level.txt
        Traceback (most recent call last):
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
            main()
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
            return hook(config_settings)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
            return self._get_build_requires(config_settings, requirements=['wheel'])
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
            self.run_setup()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
            exec(code, locals())
          File "<string>", line 271, in <module>
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
            return distutils.core.setup(**attrs)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
            return run_commands(dist)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
            dist.run_commands()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
            self.run_command(cmd)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
            super().run_command(command)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
            cmd_obj.run()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 314, in run
            self.find_sources()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
            mm.run()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 551, in run
            self.add_defaults()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
            sdist.add_defaults(self)
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
            super().add_defaults()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
            self._add_defaults_ext()
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
            self.filelist.extend(build_ext.get_source_files())
          File "<string>", line 201, in get_source_files
          File "/tmp/pip-build-env-2sqya7l4/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
            raise AttributeError(attr)
        AttributeError: cython_sources
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  WARNING: You are using pip version 22.0.4; however, version 23.2.1 is available.
  You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
  The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
  
  Warning: Docker build failed with exit code 1, back off 1.126 seconds before retry.
  /usr/bin/docker build -t d94681:d199bc0e68d341b18937ec45bd5e3f4d -f "/home/runner/work/_actions/saadmk11/changelog-ci/v1.1.1/Dockerfile" "/home/runner/work/_actions/saadmk11/changelog-ci/v1.1.1"
  Sending build context to Docker daemon  57.34kB
  
  Step 1/14 : FROM python:3.10.5-slim-buster
   ---> 71847a102b24
  Step 2/14 : LABEL "com.github.actions.name"="Changelog CI"
   ---> Using cache
   ---> f870fbe05d86
  Step 3/14 : LABEL "com.github.actions.description"="Changelog CI is a GitHub Action that generates changelog, Then the changelog is committed and/or commented to the release Pull request."
   ---> Using cache
   ---> 7d943e09cef6
  Step 4/14 : LABEL "com.github.actions.icon"="clock"
   ---> Using cache
   ---> f8fa69fd6c7c
  Step 5/14 : LABEL "com.github.actions.color"="blue"
   ---> Using cache
   ---> 111c4c10ca90
  Step 6/14 : LABEL "repository"="https://github.com/saadmk11/changelog-ci"
   ---> Using cache
   ---> ff57dc18f44a
  Step 7/14 : LABEL "homepage"="https://github.com/saadmk11/changelog-ci"
   ---> Using cache
   ---> f3b2e7844907
  Step 8/14 : LABEL "maintainer"="saadmk11"
   ---> Using cache
   ---> eeb14ca91c4a
  Step 9/14 : RUN apt-get update     && apt-get install        -y        --no-install-recommends        --no-install-suggests        git     && apt-get clean     && rm -rf /var/lib/apt/lists/*
   ---> Using cache
   ---> 8fab4e3a7bc3
  Step 10/14 : COPY ./requirements.txt .
   ---> Using cache
   ---> c722923b71d1
  Step 11/14 : RUN pip install -r requirements.txt
   ---> Running in 25847e4df47d
  Collecting PyYAML~=5.4.1
    Downloading PyYAML-5.4.1.tar.gz (175 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 KB 30.9 MB/s eta 0:00:00
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'error'
    error: subprocess-exited-with-error
    
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [62 lines of output]
        /tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
        !!
        
                ********************************************************************************
                The license_file parameter is deprecated, use license_files instead.
        
                By 2023-Oct-30, you need to update your project and remove deprecated calls
                or your builds will no longer be supported.
        
                See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                ********************************************************************************
        
        !!
          parsed = self.parsers.get(option_name, lambda x: x)(value)
        running egg_info
        writing lib3/PyYAML.egg-info/PKG-INFO
        writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
        writing top-level names to lib3/PyYAML.egg-info/top_level.txt
        Traceback (most recent call last):
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
            main()
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
          File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
            return hook(config_settings)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
            return self._get_build_requires(config_settings, requirements=['wheel'])
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
            self.run_setup()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
            exec(code, locals())
          File "<string>", line 271, in <module>
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
            return distutils.core.setup(**attrs)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
            return run_commands(dist)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
            dist.run_commands()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
            self.run_command(cmd)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
            super().run_command(command)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
            cmd_obj.run()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 314, in run
            self.find_sources()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
            mm.run()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 551, in run
            self.add_defaults()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
            sdist.add_defaults(self)
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
            super().add_defaults()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
            self._add_defaults_ext()
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
            self.filelist.extend(build_ext.get_source_files())
          File "<string>", line 201, in get_source_files
          File "/tmp/pip-build-env-nkno8a4r/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
            raise AttributeError(attr)
        AttributeError: cython_sources
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  WARNING: You are using pip version 22.0.4; however, version 23.2.1 is available.
  You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
  The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
  
Error: Docker build failed with exit code 1
##[debug]System.InvalidOperationException: Docker build failed with exit code 1

Error on line 41: KeyError: 'pull_request'

  Traceback (most recent call last):
    File "/changelog-ci.py", line 778, in <module>
      ci = changelog_ci_class(
    File "/changelog-ci.py", line 36, in __init__
      title, number = self._get_pull_request_title_and_number(event_path)
    File "/changelog-ci.py", line 46, in _get_pull_request_title_and_number
      title = data["pull_request"]['title']
  KeyError: 'pull_request'

config:

{
  "changelog_type": "commit_message"
}

fatal: Couldn't find remote ref

I am running into an issue with the git checkout.

Checkout git repository
  fatal: Couldn't find remote ref changelog
  error: pathspec 'changelog' did not match any file(s) known to git

Which is triggered by:

# Group: Checkout git repository
subprocess.run(['echo', '::group::Checkout git repository'])
subprocess.run(['git', 'fetch', '--prune', '--unshallow', 'origin', head_ref])
subprocess.run(['git', 'checkout', head_ref])

May I ask why do we need to checkout if we have actions/checkout@v2 already?

Dubious ownership in repository at '/github/workspace'

Describe the bug

When attempting to build changelog on Release branch I get an error
fatal: detected dubious ownership in repository at '/github/workspace'

Your Environment

Contents of Your Changelog-CI Workflow File (.yaml File):

name: Changelog CI

on:
  push:
    branches:
      - hotfix/*
      - release/*
    paths-ignore:
      - "*.md"

jobs:
  generate_changelog:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - name: Install GitVersion
        uses: gittools/actions/gitversion/[email protected]
        with:
          versionSpec: "5.11.1"

      - name: Determine Version
        id: gitversion
        uses: gittools/actions/gitversion/[email protected]

      - name: Run Changelog CI
        id: changelog-ci
        uses: saadmk11/[email protected]
        with:
          config_file: changelog-config.yaml
          release_version: ${{ steps.gitversion.outputs.majorMinorPatch }}
          github_token: ${{ secrets.ACTIONS_AUTH_TOKEN }}

      - name: Get Changelog Output
        run: |
          echo "${{ steps.changelog-ci.outputs.changelog }}"
          echo "${{ steps.changelog-ci.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY

Contents of Changelog-CI Configuration File (If Applicable):

changelog_type: "commit_message"
header_prefix: "Version:"
commit_changelog: true
comment_changelog: false
include_unlabeled_changes: true
unlabeled_group_title: "Changes"
pull_request_title_regex: ".*"
version_regex: ".*"
group_config:
  - title: Bug Fixes
    labels:
      - bug
      - bugfix
  - title: Code Improvements
    labels:
      - improvements
      - enhancement
  - title: New Features
    labels:
      - feature
  - title: Updates
    labels:
      - update
  - title: Dependencies
    labels:
      - dependencies
  - title: Documentation Updates
    labels:
      - docs
      - documentation
      - doc

Expected behavior

Changelog will be generated successfully and committed to the release branch.

Actual behavior

Errors about dubious ownership and lack of git directory

Additional context

Add any other context about the problem here.

image

Use description of a PR

There are cases where the text of the changelog needs to be particularly articulate. For example you need to add pieces of code, links, etc.

In such cases, it would be useful to be able to have in the configurations the option to use the PR description as a section of the changelog instead of its title.
A key could be added in the configurations for cases of changelog_type = pull_request (to indicate a value between "title" or "description")

Opt-out for emails on PR merge

Is your feature request related to a problem? Please describe.
I am getting spammed by emails now on every merge of updated changelog PR.
This will cause an issue in our entire organization.
The need is understandable, but I feel there should be an opt-out configuration

Describe the solution you'd like
An option to disable emails from github sent from the action

Describe alternatives you've considered
I really don't like the other changelog actions... yours is concise and easy to use... others are complex and over engineered.
Essentially I am not looking for an alternative... just to help you improve this tool 🥇

Additional context
image

Action marked as success despite error occuring

Describe the bug

Hi, I'm having an issue where in a PR where I forgot (or failed) versioning in the title, the run itself hits an error but marks it as successful, meaning the PR can be merged without a valid changelog.
I'm fairly new to Github Actions so I might be missing something obvious, checked the other issues in this repo and saw nothing, so coming here for help.

Your Environment

Workflow Run URL (if Public Repository):
https://github.com/MoonieGZ/TwoMoons/actions/runs/5298499154/jobs/9590890439

Contents of Your Changelog-CI Workflow File (.yaml File):

name: Changelog CI

on:
  pull_request:
    types: [ opened ]

  workflow_dispatch:
    inputs:
      release_version:
        description: 'Set Release Version'
        required: true

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Run Changelog CI
        uses: saadmk11/[email protected]
        with:
          changelog_filename: CHANGELOG.md
          config_file: .github/changelog-ci-config.yaml
          github_token: ${{ secrets.GITHUB_TOKEN }}

Contents of Changelog-CI Configuration File (If Applicable):

changelog_type: 'commit_message' # or 'pull_request'
header_prefix: 'Version:'
commit_changelog: true
comment_changelog: true
include_unlabeled_changes: true
unlabeled_group_title: 'Unlabeled Changes'
pull_request_title_regex: '^Release'
version_regex: 'v?([0-9]{1,2})+[.]+([0-9]{1,2})+[.]+([0-9]{1,2})\s\(\d{1,2}-\d{1,2}-\d{4}\)'
exclude_labels:
  - bot
  - dependabot
  - ci
group_config:
  - title: Bug Fixes
    labels:
      - bug
      - bugfix
  - title: Code Improvements
    labels:
      - improvements
      - enhancement
  - title: New Features
    labels:
      - feature
  - title: Documentation Updates
    labels:
      - docs
      - documentation
      - doc

Expected behavior

Check to fail when an error occurs.

Actual behavior

Run hits an error but marks check as success.

image

Add regex config for pull request title and version name

By adding regex support users will be able to add their own regex to only generate changelog for matching pull requests
version regex will match version number from the title and Changelog CI will use it to generate changelog.

Enable forced commit to given branch

Is your feature request related to a problem? Please describe.
I was looking for a way to fully automate this process... but it seems that now I have to deal with PRs to my release branch including changes to the changelog and thereby also listing these changes as a potential PR to be mentioned in the changelog itself

Describe the solution you'd like
I would like the ability to commit directly to a non-PR the branch without creating a new PR just for the changelog. So while working in Release branch, instead of seeing and merging a new PR, I will simply see a new commit by Changelog CI or GitHub bot with the relevant changes. Since I am in a release branch we are validating and testing anyway before the release is completed. No point to add another gate in the way

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Include commits from PR

Hi,

I understood that only the previous commits / PRs already merged are included, but what about commits that were pushed to a RELEASE branch?

Consider the following scenario (I'm using commit_message type):
A branch B was created with several commits X and then a RELEASE PR for that branch was opened to the default branch A. In that case, all the commits X won't be included since they were not merged

As a result, we have a release with a CHANGELOG.md not having the current release commits

Add Support for reStructuredText

We only Generate Changelog using Markdown (.md) currently. It will be nice to generate Changelog in reStructuredText (.rst) as well.

Add Support for labels

Need to add support for GitHub labels so that changelogs can be sorted by labels.
Might need to introduce a config file for users to configure labels

Step output unusable

Describe the bug

The output of the step cannot be used as it misses compatible line breaks

Your Environment

Contents of Your Changelog-CI Workflow File (.yaml File):

name: Changelog CI

on:
  push:
    branches:
      - hotfix/*
      - release/*
    paths-ignore:
      - "*.md"

jobs:
  generate_changelog:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - name: Install GitVersion
        uses: gittools/actions/gitversion/[email protected]
        with:
          versionSpec: "5.11.1"

      - name: Determine Version
        id: gitversion
        uses: gittools/actions/gitversion/[email protected]

      - name: Run Changelog CI
        id: changelog-ci
        uses: saadmk11/[email protected]
        with:
          config_file: changelog-config.yaml
          release_version: ${{ steps.gitversion.outputs.majorMinorPatch }}
          github_token: ${{ secrets.ACTIONS_AUTH_TOKEN }}

      - name: Get Changelog Output
        run: |
          echo "${{ steps.changelog-ci.outputs.changelog }}"
          echo "${{ steps.changelog-ci.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY

Contents of Changelog-CI Configuration File (If Applicable):

changelog_type: "pull_request"
header_prefix: "Version:"
commit_changelog: true
comment_changelog: false
include_unlabeled_changes: true
unlabeled_group_title: "Changes"
pull_request_title_regex: ".*"
version_regex: ".*"
group_config:
  - title: Bug Fixes
    labels:
      - bug
      - bugfix
  - title: Code Improvements
    labels:
      - improvements
      - enhancement
  - title: New Features
    labels:
      - feature
  - title: Updates
    labels:
      - update
  - title: Dependencies
    labels:
      - dependencies
  - title: Documentation Updates
    labels:
      - docs
      - documentation
      - doc

Expected behavior

The output will appear in the summary as intended

Actual behavior

The output appears in the summary without line breaks leading to an ALL header output instead of the readable changelog output found in the file

Additional context

Add any other context about the problem here.

image

Can we custom the change log file format

Currently after generate the change log, the format will be:

Pull_Request_Number: Pull_Request_Title

Have any option which we can change the format to:

Pull_Request_Title: Pull_Request_Number

Changelog CI uses the same PR reference for multiple releases

Describe the bug

Changelog CI links the same PR references for multiple versions.

Your Environment

Workflow Run URL (if Public Repository):
You can see this in this file: https://github.com/robinmatz/changelog-ci-poc/pull/6/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed

Contents of Your Changelog-CI Workflow File (.yaml File):

name: Changelog CI

on:
  pull_request:
    types: [ opened ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Run Changelog CI
        uses: saadmk11/[email protected]

Contents of Changelog-CI Configuration File (If Applicable):

Expected behavior

I expect there be only the newest PRs since the last release:

# Version: 0.3.2

* [#4](https://github.com/robinmatz/changelog-ci-poc/pull/4): Release 0.3.1
* [#5](https://github.com/robinmatz/changelog-ci-poc/pull/5): Make return string return string not class str


# Version: 0.3.1

* [#3](https://github.com/robinmatz/changelog-ci-poc/pull/3): New feature
* [#2](https://github.com/robinmatz/changelog-ci-poc/pull/2): Release 0.2.0

# Version: 0.2.0
* [#1](https://github.com/robinmatz/changelog-ci-poc/pull/1): Release 0.1.0

Actual behavior

All PRs are listed under the newest version

# Version: 0.3.2

* [#2](https://github.com/robinmatz/changelog-ci-poc/pull/2): Release 0.2.0
* [#1](https://github.com/robinmatz/changelog-ci-poc/pull/1): Release 0.1.0
* [#4](https://github.com/robinmatz/changelog-ci-poc/pull/4): Release 0.3.1
* [#3](https://github.com/robinmatz/changelog-ci-poc/pull/3): New feature
* [#5](https://github.com/robinmatz/changelog-ci-poc/pull/5): Make return string return string not class str


# Version: 0.3.1

* [#3](https://github.com/robinmatz/changelog-ci-poc/pull/3): New feature
* [#2](https://github.com/robinmatz/changelog-ci-poc/pull/2): Release 0.2.0
* [#1](https://github.com/robinmatz/changelog-ci-poc/pull/1): Release 0.1.0
# Version: 0.2.0
* [#1](https://github.com/robinmatz/changelog-ci-poc/pull/1): Release 0.1.0

Additional context

Please checkout the repo for additional context on PR history: https://github.com/robinmatz/changelog-ci-poc/pulls?q=is%3Apr+is%3Aclosed

Please also let me know if the issue is with my setup.

Update the use of `other changes`

We can add more customizability to this, maybe we can add an option to add the label for other changes and/or disable this.

if pull_request_data:
# if they do not match any user provided group
# Add items in ``Other Changes`` group
string_data += '\n#### Other Changes\n\n'
string_data += ''.join(map(self._get_changelog_line, pull_request_data))

ref: #38 (comment)

The commit history is replicated in each version generated with each new PR

Describe the bug

Every time I create a new PR it shows me the first commit by default that was created when the repository was started and all the commits associated with previous PRs (It doesn't show those of the PR that I am managing at the moment)

Your Environment

Repo: https://github.com/BlindadoXp/testch
Every step that I did in case you can guide me because I am confusing the process

Step 1:

- git checkout -b branch_1
- Create empty [CHANGELOG.md](https://github.com/saadmk11/changelog-ci/blob/v1.0.0/CHANGELOG.md)
- Create changelog-ci-config.json
- Create changelog-ci.yml (remove workflow_dispatch and replace changelog_filename with ./CHANGELOG.md If I don't do this, it returns me the message that the changelog is not found. Remove committer_username and  committer_email)
- Git add -A & git commit -m “First commit” & git push branch_1
- Create pr Release/v1.0.0 (03-16-2022)
- Merge PR & delete branch in GitHub

FIRST PR:
Changelog: Version: v1.0.0 (03-16-2022)

  • [e4a3277] Initial commit (It is not my commit, it is the first one that was created by default when the repository was created)

Step 2:

- git checkout main & git pull & delete branch local 
- git checkout -b branch_2
- Create folder api + api/fastapi.py
- git add -A
- git commit -m "Create api/fastapi.py"
- git push origin branch_2
- Add # into api/fastapi.py
- git add -A
- git commit -m "Add # into api/fastapi.py"
- git push origin branch_2
- Create a new pr Release/v2.0.0 (03-16-2022)
- Merge PR & delete branch in GitHub

SECOND PR:
Version: v2.0.0 (03-16-2022)

  • [faa2fc9] [Changelog CI] Add Changelog for Version v1.0.0 (03-16-2022)
  • [941665a]First commit
  • [e4a3277] Initial commit

The second changelog was created with the commits of the previous PR and also added the first commit by default that was created when generating the repository

Step 3:

- git checkout main & git pull & delete branch local 
- git checkout -b branch_3
- Add another # into api/fastapi.py
- git add -A
-  git commit -m "Add another # into api/fastapi.py"
- git push origin branch_3
- Create new pr Release/v3.0.0 (03-16-2022)
- Merge PR & delete branch in GitHub

THIRD PR:
Version: v3.0.0 (03-16-2022)

  • [dfbdd56] [Changelog CI] Add Changelog for Version v2.0.0 (03-16-2022)
  • [966d486] Add # into api/fastapi.py
  • [d62b3af]Create api/fastapi.py
  • [faa2fc9][Changelog CI] Add Changelog for Version v1.0.0 (03-16-2022)
  • [941665a]First commit
  • [e4a3277] Initial commit

It is a mix of the first commit by default, the commits of the first PR and the second

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.