heinrichreimer / action-github-changelog-generator

✏️ Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
MIT License
127 stars 34 forks source link

`filter_since_tag': Error: can't find tag 0.1.0, specified with --since-tag option #32

Open ma7555 opened 2 years ago

ma7555 commented 2 years ago

workflow: https://github.com/ma7555/evalify/actions/runs/1870980986

yml: https://github.com/ma7555/evalify/blob/changelog/.github/workflows/changelog.yml

When no tags in repo I get:

Run heinrichreimer/github-changelog-generator-action@v[2](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:2).1.1
  with:
    token: ***
    issues: true
    issuesWoLabels: true
    pullRequests: true
    prWoLabels: true
    unreleased: true
    addSections: {"documentation":{"prefix":"**Documentation:**","labels":["documentation"]}}
    output: CHANGELOG.md
/usr/bin/docker run --name db2d7a7ee1d9555764cb184febfb1[3](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:3)c36da61_20f526 --label 7db2d7 --workdir /github/workspace --rm -e INPUT_TOKEN -e INPUT_ISSUES -e INPUT_ISSUESWOLABELS -e INPUT_PULLREQUESTS -e INPUT_PRWOLABELS -e INPUT_UNRELEASED -e INPUT_ADDSECTIONS -e INPUT_OUTPUT -e INPUT_REPO -e INPUT_USER -e INPUT_PROJECT -e INPUT_DATEFORMAT -e INPUT_BASE -e INPUT_HEADERLABEL -e INPUT_CONFIGURESECTIONS -e INPUT_FRONTMATTER -e INPUT_FILTERBYMILESTONE -e INPUT_AUTHOR -e INPUT_USERNAMESASGITHUBLOGINS -e INPUT_UNRELEASEDONLY -e INPUT_UNRELEASEDLABEL -e INPUT_INCLUDELABELS -e INPUT_EXCLUDELABELS -e INPUT_ISSUELINELABELS -e INPUT_EXCLUDETAGS -e INPUT_EXCLUDETAGSREGEX -e INPUT_SINCETAG -e INPUT_DUETAG -e INPUT_MAXISSUES -e INPUT_RELEASEURL -e INPUT_GITHUBSITE -e INPUT_GITHUBAPI -e INPUT_SIMPLELIST -e INPUT_FUTURERELEASE -e INPUT_RELEASEBRANCH -e INPUT_HTTPCACHE -e INPUT_CACHEFILE -e INPUT_CACHELOG -e INPUT_SSLCAFILE -e INPUT_VERBOSE -e INPUT_BREAKINGLABEL -e INPUT_BREAKINGLABELS -e INPUT_ENHANCEMENTLABEL -e INPUT_ENHANCEMENTLABELS -e INPUT_BUGSLABEL -e INPUT_BUGLABELS -e INPUT_DEPRECATEDLABEL -e INPUT_DEPRECATEDLABELS -e INPUT_REMOVEDLABEL -e INPUT_REMOVEDLABELS -e INPUT_SECURITYLABEL -e INPUT_SECURITYLABELS -e INPUT_ISSUESLABEL -e INPUT_PRLABEL -e INPUT_ONLYLASTTAG -e INPUT_STRIPHEADERS -e INPUT_STRIPGENERATORNOTICE -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_RUN_ATTEMPT -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_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -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_ARCH -e RUNNER_NAME -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/evalify/evalify":"/github/workspace" 7db2d7:a7ee1d955576[4](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:4)cb184febfb13c36da61
/usr/local/bundle/gems/github_changelog_generator-1.1[5](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:5).0/lib/github_changelog_generator/generator/generator_tags.rb:138:in `filter_since_tag': Error: can't find tag 0.1.0, specified with --since-tag option. (GitHubChangelogGenerator::ChangelogGeneratorError)
    from /usr/local/bundle/gems/github_changelog_generator-1.15.0/lib/github_changelog_generator/generator/generator_tags.rb:120:in `get_filtered_tags'
    from /usr/local/bundle/gems/github_changelog_generator-1.15.0/lib/github_changelog_generator/generator/generator_tags.rb:15:in `fetch_and_filter_tags'
    from /usr/local/bundle/gems/github_changelog_generator-1.15.0/lib/github_changelog_generator/generator/generator.rb:4[6](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:6):in `compound_changelog'
    from /usr/local/bundle/gems/github_changelog_generator-1.15.0/lib/github_changelog_generator.rb:35:in `run'
    from /usr/local/bundle/gems/github_changelog_generator-1.15.0/bin/github_changelog_generator:5:in `<top (required)>'
    from /usr/local/bundle/bin/github_changelog_generator:23:in `load'
    from /usr/local/bundle/bin/github_changelog_generator:23:in `<main>'
Fetching tags... [10](https://github.com/ma7555/evalify/runs/5262796526?check_suite_focus=true#step:4:10)0/100

Warning: Can't find any tags in repo. Make sure, that you push tags to remote repo via 'git push --tags'

When I push v0.1.0 tag, i don't get the last warning, however, CHANGELOG.md is not created.

Same as https://github.com/heinrichreimer/action-github-changelog-generator/issues/28