BobAnkh / auto-generate-changelog

A Github Action to generate CHANGELOG automatically according to conventional commits. Feel free to contribute!
Apache License 2.0
81 stars 22 forks source link

[question] Not working on private repos #55

Closed Dufran closed 3 years ago

Dufran commented 3 years ago

Hello can you please tell if it should work on private repo?

boring-cyborg[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the issue template!

gitmagic-app[bot] commented 3 years ago

Everything looks good :thumbsup:

BobAnkh commented 3 years ago

@Dufran

Hello, thank you for using it. I can tell you that it can work on private repo. I have tested it as below:

image

image

Here is my configuration:

name: Generate changelog
on:
  release:
    types: [created, edited]
  push:
    branches: 
      - main

jobs:
  generate-changelog:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: BobAnkh/auto-generate-changelog@master
      with:
        REPO_NAME: 'BobAnkh/test-action'
        ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
        PATH: '/CHANGELOG.md'
        COMMIT_MESSAGE: 'docs(CHANGELOG): update release notes'
        TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'

Make sure you configure it right(e.g. the correct REPO_NAME). Please let me know if you have any question.

Dufran commented 3 years ago

Many thanks for clarifying that, will check my config again.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.