mikepenz / release-changelog-builder-action

A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
https://blog.mikepenz.dev
Apache License 2.0
689 stars 99 forks source link

merge: support gitea #1272

Closed dreamncn closed 8 months ago

dreamncn commented 8 months ago
  1. used in yaml

      - name: Build Changelog
        id: github_release
        uses: https://proxy.ankio.top/dreamncn/release-changelog-builder-action@v3
        with:
          platform: "gitea" # your code platform,just support gitea and github
          baseUrl: "https://gitea.com" # if you used gitea official platform,no need to provide it.
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  2. if you want to extends to support more platform:

    • extend BaseRepository class and implement the corresponding functions
    • add your class to main.ts in line 10
      const supportedPlatform = {
      github: GithubRepository,
      gitea: GiteaRepository
      }
dreamncn commented 8 months ago

I find some errors , I closed it now.