Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes adds a </li> #278

Closed
SubJunk opened this issue May 12, 2024 · 22 comments
Closed

Sometimes adds a </li> #278

SubJunk opened this issue May 12, 2024 · 22 comments
Labels
bug Something isn't working
Milestone

Comments

@SubJunk
Copy link

SubJunk commented May 12, 2024

Can be seen here UniversalMediaServer/UniversalMediaServer@6caa293

@dangoslen
Copy link
Owner

Interesting. Very odd bug. Will take a look!

@dangoslen
Copy link
Owner

dangoslen commented Jun 6, 2024

After much head scratching, I've realized that there is a problem in the regex that extracts the version bumps from the description. In the PR, the description has a commit that matches the regex:

2cfb474 Bump version from 18.2 to 18.3

It sounds like I need to restrict the regex here for lines that start with the initial search word. The current regex can match the line at any place in the line, which I think lead to this bug

Will see if I can tackle this soon! TY for reporting and bearing with me

@SubJunk
Copy link
Author

SubJunk commented Jun 7, 2024

Cool, it seems like a rare problem so I'm not worried, thanks

@CramBL
Copy link

CramBL commented Dec 16, 2024

I got this changelog entry:

### Dependencies
- Bump `crate-ci/typos` from 1.27.0 to 1.28.3 ([#32](https://github.com/luftkode/settings-manager/pull/32))

- Bump `docker/login-action` from 3d58c274f17dffee475a5520cbe67f0a882c4dbb to 7ca345011ac4304463197fac0e56eab1bc7e6af0 ([#32](https://github.com/luftkode/settings-manager/pull/32))
- Bump `<code>@​docker/actions-toolkit</code>` from 0.40.0 to 0.42.0</li> ([#32](https://github.com/luftkode/settings-manager/pull/32))
- Bump `<code>@​actions/core</code>` from 1.10.1 to 1.11.1</li> ([#32](https://github.com/luftkode/settings-manager/pull/32))

Not exactly what I had imagined 😆

Dependabot actually only made these changes:

image

@CramBL
Copy link

CramBL commented Dec 16, 2024

What about changing

/(?:(?:U|u)pdate|(?:B|b)ump)s? (\S+?) (?:requirement )?from (\S*) to (\S*)/

to

(?:(?:U|u)pdate|(?:B|b)ump)s? (\S+?) (?:requirement )?from (\S*) to (\S*)(?=\n<details>)

That would require the update/bump line to come before a newline and the <details> tag. Which I think dependabot always creates, and it would no longer match commit messages.

@dangoslen
Copy link
Owner

Thanks for chiming in @CramBL

I actually do have a fix for this on a local branch that I just never got around to polishing and pushing. I'll open that shortly

@dangoslen dangoslen added the bug Something isn't working label Dec 16, 2024
@github-actions github-actions bot mentioned this issue Dec 17, 2024
@dangoslen dangoslen added this to the v3.11.0 milestone Dec 17, 2024
@dangoslen
Copy link
Owner

Should be fixed in 3.11.0

@CramBL
Copy link

CramBL commented Dec 17, 2024

I still get the same faulty changelog entry

Log shows I'm on newest version:

2024-12-17T19:11:06.9881251Z Download action repository 'dangoslen/dependabot-changelog-helper@v3' (SHA:d356246443c16eab2317b4d414e1498b61d4d5d8)

Changelog entry:

### Dependencies
- Bump `crate-ci/typos` from 1.27.0 to 1.28.4 ([#39](https://github.com/luftkode/settings-manager/pull/39))

- Bump `docker/login-action` from 3d58c274f17dffee475a5520cbe67f0a882c4dbb to 7ca345011ac4304463197fac0e56eab1bc7e6af0 ([#39](https://github.com/luftkode/settings-manager/pull/39))
- Bump `<code>@​docker/actions-toolkit</code>` from 0.40.0 to 0.42.0</li> ([#39](https://github.com/luftkode/settings-manager/pull/39))
- Bump `<code>@​actions/core</code>` from 1.10.1 to 1.11.1</li> ([#39](https://github.com/luftkode/settings-manager/pull/39))
The whole dependabot message that lead that entry Bumps the github_actions group with 2 updates in the / directory: [crate-ci/typos](https://github.com/crate-ci/typos) and [docker/login-action](https://github.com/docker/login-action).

Updates crate-ci/typos from 1.27.0 to 1.28.4

Release notes

Sourced from crate-ci/typos's releases.

v1.28.4

[1.28.4] - 2024-12-16

Features

  • --format sarif support

v1.28.3

[1.28.3] - 2024-12-12

Fixes

  • Correct imlementations, includs, qurorum, transatctions, trasnactions, validasted, vview

v1.28.2

[1.28.2] - 2024-12-02

Fixes

  • Don't correct parametrize variants

v1.28.1

[1.28.1] - 2024-11-26

Fixes

  • Add back in lock file types accidentally removed in 1.28 (go.sum, requirements.txt)

v1.28.0

[1.28.0] - 2024-11-25

Features

  • Updated the dictionary with the November 2024 changes
  • Add many new types and file extensions to the --type-list, including ada, alire, bat, candid, carp, cml, devicetree, dita, dockercompose, grpbuild, graphql, hare, lean, meson, prolog, raku, reasonml, rescript, solidity, svelte, usd, v, wgsl

v1.27.3

[1.27.3] - 2024-11-08

Fixes

  • Don't correct alloced
  • Don't correct registor, a more domain specific variant of register

v1.27.2

[1.27.2] - 2024-11-06

Fixes

  • Correct fand

... (truncated)

Changelog

Sourced from crate-ci/typos's changelog.

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased] - ReleaseDate

[1.28.4] - 2024-12-16

Features

  • --format sarif support

[1.28.3] - 2024-12-12

Fixes

  • Correct imlementations, includs, qurorum, transatctions, trasnactions, validasted, vview

[1.28.2] - 2024-12-02

Fixes

  • Don't correct parametrize variants

[1.28.1] - 2024-11-26

Fixes

  • Add back in lock file types accidentally removed in 1.28 (go.sum, requirements.txt)

[1.28.0] - 2024-11-25

Features

  • Updated the dictionary with the November 2024 changes
  • Add many new types and file extensions to the --type-list, including ada, alire, bat, candid, carp, cml, devicetree, dita, dockercompose, grpbuild, graphql, hare, lean, meson, prolog, raku, reasonml, rescript, solidity, svelte, usd, v, wgsl

[1.27.3] - 2024-11-08

Fixes

  • Don't correct alloced
  • Don't correct requestor, a more domain specific variant of requester

[1.27.2] - 2024-11-06

Fixes

... (truncated)

Commits

Updates docker/login-action from 3d58c274f17dffee475a5520cbe67f0a882c4dbb to 7ca345011ac4304463197fac0e56eab1bc7e6af0

Commits
  • 7ca3450 Merge pull request #806 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 02b671a build(deps): bump @​docker/actions-toolkit from 0.40.0 to 0.42.0
  • 0689575 Merge pull request #800 from crazy-max/publish-immutable-action
  • 02c9ff3 ci: publish as immutable action workflow
  • 5d8785b Merge pull request #801 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 7a65d3d chore: update generated content
  • bd2f409 build(deps): bump @​docker/actions-toolkit from 0.35.0 to 0.40.0
  • 9fd0581 Merge pull request #791 from docker/dependabot/npm_and_yarn/actions/core-1.11.1
  • eefb7e8 chore: update generated content
  • cb13d66 build(deps): bump @​actions/core from 1.10.1 to 1.11.1
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dangoslen
Copy link
Owner

Will take a deeper look!

@CramBL
Copy link

CramBL commented Dec 18, 2024

Maybe you can reopen it so I/we(?) can track it?

@dangoslen dangoslen reopened this Dec 18, 2024
@CramBL
Copy link

CramBL commented Dec 19, 2024

For context here's the workflow where I observe the issue:

name: Bump patch version on Dependabot PRs

on:
  pull_request:
    types: [opened, reopened]
    branches: [ main, master ]

jobs:
  update-release-file:
    if: github.actor == 'dependabot[bot]'
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write

    steps:
    - uses: actions/checkout@v4
    - uses: extractions/setup-just@v2

    - name: Init Artisan Tools
      run: just init-at

    - name: Bump patch version
      run: |
        just at version bump patch
        echo "NEW_VERSION=$(cat RELEASE)" >> $GITHUB_ENV

    - name: Create new CHANGELOG section
      run: |
        CURRENT_DATE=$(date +"%Y-%m-%d")
        NEW_SECTION="## [${{ env.NEW_VERSION }}] - ${CURRENT_DATE}\n"
        sed -i '0,/^## \[/s//'"${NEW_SECTION}"'\n&/' CHANGELOG.md

    - uses: dangoslen/dependabot-changelog-helper@v3
      with:
        activationLabels: 'dependencies'
        version: ${{ env.NEW_VERSION }}
        changelogPath: './CHANGELOG.md'

    - uses: stefanzweifel/git-auto-commit-action@v5
      with:
          commit_message: "Updated Changelog and bumped to ${{ env.NEW_VERSION }}"

@dangoslen
Copy link
Owner

@CramBL I believe I've solved this now. Would you mind confirming by updating the action in your workflow to use dangoslen/dependabot-changelog-helper@releases/v3.11 (should have the changes in there, just not tagged yet).

@CramBL
Copy link

CramBL commented Dec 21, 2024

I made the change you suggested and made dependabot recreate the PR but now it fails to run. I cannot tell what's causing dependabot to error. I made only that change (dangoslen/dependabot-changelog-helper@releases/v3.11) so my best guess is that it doesn't know how to handle checking the version for dependabot-changelog-helper.

2024-12-21T09:26:13.4602700Z Starting update process
2024-12-21T09:26:13.9662569Z Created proxy container: ee75b105bc674b33b9c1a84caba827c0f1518aa8e48b6453e7c014f827c6ad68
2024-12-21T09:26:14.3411056Z Created container: 80b667eebe441ffd7bc682f805ac24c711fec197ca8fb1ae63720102b1cb3b8e
2024-12-21T09:26:14.4646344Z   proxy | 2024/12/21 09:26:14 proxy starting, commit: 39f5c2fb29cacce3bbeea1bdf58a1d3430dd0f97
2024-12-21T09:26:14.4670769Z   proxy | 2024/12/21 09:26:14 Listening (:1080)
2024-12-21T09:26:14.6016284Z updater | Updating certificates in /etc/ssl/certs...
2024-12-21T09:26:15.4505325Z updater | rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
2024-12-21T09:26:15.4586008Z updater | 1 added, 0 removed; done.
2024-12-21T09:26:15.4587482Z updater | Running hooks in /etc/ca-certificates/update.d...
2024-12-21T09:26:15.4606878Z updater | done.
2024-12-21T09:26:17.1160033Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Starting job processing
2024-12-21T09:26:17.1172275Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Job definition: {"job":{"allowed-updates":[{"dependency-type":"direct","update-type":"all"}],"commit-message-options":{"prefix":null,"prefix-development":null,"include-scope":null},"credentials-metadata":[{"type":"git_source","host":"github.com"}],"debug":null,"dependencies":["crate-ci/typos","docker/login-action"],"dependency-groups":[{"name":"github_actions","rules":{"patterns":["*"]}}],"dependency-group-to-refresh":"github_actions","existing-pull-requests":[],"existing-group-pull-requests":[{"dependency-group-name":"github_actions","dependencies":[{"dependency-name":"crate-ci/typos","dependency-version":"1.28.4","directory":"/"},{"dependency-name":"docker/login-action","dependency-version":"7ca345011ac4304463197fac0e56eab1bc7e6af0","directory":"/"}]}],"experiments":{"record-ecosystem-versions":true,"record-update-job-unknown-error":true,"proxy-cached":true,"move-job-token":true,"dependency-change-validation":true,"nuget-native-analysis":true,"nuget-use-direct-discovery":true,"enable-file-parser-python-local":true,"npm-v6-deprecation-warning":true,"lead-security-dependency":true,"enable-record-ecosystem-meta":true,"enable-shared-helpers-command-timeout":true},"ignore-conditions":[],"lockfile-only":false,"max-updater-run-time":2700,"package-manager":"github_actions","proxy-log-response-body-on-auth-failure":true,"requirements-update-strategy":null,"reject-external-code":false,"security-advisories":[],"security-updates-only":false,"source":{"provider":"github","repo":"luftkode/settings-manager","branch":null,"api-endpoint":"https://api.github.com/","hostname":"github.com","directories":["/"]},"updating-a-pull-request":true,"update-subdependencies":false,"vendor-dependencies":false,"repo-private":true}}
2024-12-21T09:26:17.1242191Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1069 with command: {} git config --global credential.helper '!/home/dependabot/common/lib/dependabot/../../bin/git-credential-store-immutable --file /home/dependabot/dependabot-updater/git.store' {}
2024-12-21T09:26:17.1305883Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1069 completed with status: pid 1069 exit 0
2024-12-21T09:26:17.1318972Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1349438Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1077 with command: {} git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ {}
2024-12-21T09:26:17.1419948Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1077 completed with status: pid 1077 exit 0
2024-12-21T09:26:17.1430516Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1446995Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1084 with command: {} git config --global --add url.https://github.com/.insteadOf ssh://git@github.com: {}
2024-12-21T09:26:17.1505932Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1084 completed with status: pid 1084 exit 0
2024-12-21T09:26:17.1507142Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1516361Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1091 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com: {}
2024-12-21T09:26:17.1572253Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1091 completed with status: pid 1091 exit 0
2024-12-21T09:26:17.1573465Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1584950Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1098 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com/ {}
2024-12-21T09:26:17.1644918Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1098 completed with status: pid 1098 exit 0
2024-12-21T09:26:17.1646454Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1655766Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1105 with command: {} git config --global --add url.https://github.com/.insteadOf git://github.com/ {}
2024-12-21T09:26:17.1709878Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Process PID: 1105 completed with status: pid 1105 exit 0
2024-12-21T09:26:17.1711240Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:17.1729510Z updater | 2024/12/21 09:26:17 INFO <job_936361307> Started process PID: 1112 with command: {} git clone --no-tags --depth 1 --recurse-submodules --shallow-submodules https://github.com/luftkode/settings-manager /home/dependabot/dependabot-updater/repo {}
2024-12-21T09:26:17.6697583Z   proxy | 2024/12/21 09:26:17 [002] GET https://github.com:443/luftkode/settings-manager/info/refs?service=git-upload-pack
2024-12-21T09:26:17.6699102Z   proxy | 2024/12/21 09:26:17 [002] * authenticating git server request (host: github.com)
2024-12-21T09:26:17.7632802Z   proxy | 2024/12/21 09:26:17 [002] 200 https://github.com:443/luftkode/settings-manager/info/refs?service=git-upload-pack
2024-12-21T09:26:17.8213422Z   proxy | 2024/12/21 09:26:17 [004] POST https://github.com:443/luftkode/settings-manager/git-upload-pack
2024-12-21T09:26:17.8227740Z   proxy | 2024/12/21 09:26:17 [004] * authenticating git server request (host: github.com)
2024-12-21T09:26:17.8924000Z   proxy | 2024/12/21 09:26:17 [004] 200 https://github.com:443/luftkode/settings-manager/git-upload-pack
2024-12-21T09:26:17.9476526Z   proxy | 2024/12/21 09:26:17 [006] POST https://github.com:443/luftkode/settings-manager/git-upload-pack
2024-12-21T09:26:17.9483952Z   proxy | 2024/12/21 09:26:17 [006] * authenticating git server request (host: github.com)
2024-12-21T09:26:18.0275407Z   proxy | 2024/12/21 09:26:18 [006] 200 https://github.com:443/luftkode/settings-manager/git-upload-pack
2024-12-21T09:26:18.0915467Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1112 completed with status: pid 1112 exit 0
2024-12-21T09:26:18.0916508Z 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.92 seconds
2024-12-21T09:26:18.0939375Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1156 with command: {} git -C /home/dependabot/dependabot-updater/repo ls-files --stage {}
2024-12-21T09:26:18.0984580Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1156 completed with status: pid 1156 exit 0
2024-12-21T09:26:18.0985718Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1033391Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1170 with command: {} git config --global credential.helper '!/home/dependabot/common/lib/dependabot/../../bin/git-credential-store-immutable --file /home/dependabot/dependabot-updater/git.store' {}
2024-12-21T09:26:18.1095620Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1170 completed with status: pid 1170 exit 0
2024-12-21T09:26:18.1103757Z 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1105431Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1178 with command: {} git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ {}
2024-12-21T09:26:18.1161381Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1178 completed with status: pid 1178 exit 0
2024-12-21T09:26:18.1162451Z 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1168693Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1185 with command: {} git config --global --add url.https://github.com/.insteadOf ssh://git@github.com: {}
2024-12-21T09:26:18.1232501Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1185 completed with status: pid 1185 exit 0
2024-12-21T09:26:18.1234131Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1249342Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1192 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com: {}
2024-12-21T09:26:18.1303882Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1192 completed with status: pid 1192 exit 0
2024-12-21T09:26:18.1305174Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1311945Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1199 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com/ {}
2024-12-21T09:26:18.1360832Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1199 completed with status: pid 1199 exit 0
2024-12-21T09:26:18.1361929Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1391117Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1206 with command: {} git config --global --add url.https://github.com/.insteadOf git://github.com/ {}
2024-12-21T09:26:18.1424688Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1206 completed with status: pid 1206 exit 0
2024-12-21T09:26:18.1425903Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1445746Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1213 with command: {} git rev-parse HEAD {}
2024-12-21T09:26:18.1569417Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1213 completed with status: pid 1213 exit 0
2024-12-21T09:26:18.1570543Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1683773Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1228 with command: {} git config --global credential.helper '!/home/dependabot/common/lib/dependabot/../../bin/git-credential-store-immutable --file /home/dependabot/dependabot-updater/git.store' {}
2024-12-21T09:26:18.1695534Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1228 completed with status: pid 1228 exit 0
2024-12-21T09:26:18.1696643Z 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1720432Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1235 with command: {} git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ {}
2024-12-21T09:26:18.1749255Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1235 completed with status: pid 1235 exit 0
2024-12-21T09:26:18.1750402Z 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1758280Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1242 with command: {} git config --global --add url.https://github.com/.insteadOf ssh://git@github.com: {}
2024-12-21T09:26:18.1804547Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1242 completed with status: pid 1242 exit 0
2024-12-21T09:26:18.1805791Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1812862Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1249 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com: {}
2024-12-21T09:26:18.1868933Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1249 completed with status: pid 1249 exit 0
2024-12-21T09:26:18.1870201Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1877213Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1256 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com/ {}
2024-12-21T09:26:18.1927414Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1256 completed with status: pid 1256 exit 0
2024-12-21T09:26:18.1933040Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.1944213Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1263 with command: {} git config --global --add url.https://github.com/.insteadOf git://github.com/ {}
2024-12-21T09:26:18.2001361Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1263 completed with status: pid 1263 exit 0
2024-12-21T09:26:18.2002640Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2010457Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1269 with command: {} git rev-parse HEAD {}
2024-12-21T09:26:18.2065548Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1269 completed with status: pid 1269 exit 0
2024-12-21T09:26:18.2066704Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2115605Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1283 with command: {} git config --global credential.helper '!/home/dependabot/common/lib/dependabot/../../bin/git-credential-store-immutable --file /home/dependabot/dependabot-updater/git.store' {}
2024-12-21T09:26:18.2173959Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1283 completed with status: pid 1283 exit 0
2024-12-21T09:26:18.2175144Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2182284Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1291 with command: {} git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ {}
2024-12-21T09:26:18.2238870Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1291 completed with status: pid 1291 exit 0
2024-12-21T09:26:18.2239976Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2247227Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1298 with command: {} git config --global --add url.https://github.com/.insteadOf ssh://git@github.com: {}
2024-12-21T09:26:18.2302326Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1298 completed with status: pid 1298 exit 0
2024-12-21T09:26:18.2303449Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2310548Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1305 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com: {}
2024-12-21T09:26:18.2368370Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1305 completed with status: pid 1305 exit 0
2024-12-21T09:26:18.2369600Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2376876Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1312 with command: {} git config --global --add url.https://github.com/.insteadOf git@github.com/ {}
2024-12-21T09:26:18.2428029Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1312 completed with status: pid 1312 exit 0
2024-12-21T09:26:18.2429267Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2436132Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Started process PID: 1319 with command: {} git config --global --add url.https://github.com/.insteadOf git://github.com/ {}
2024-12-21T09:26:18.2492827Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Process PID: 1319 completed with status: pid 1319 exit 0
2024-12-21T09:26:18.2494204Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Total execution time: 0.01 seconds
2024-12-21T09:26:18.2514291Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Base commit SHA: d246ddbc119a03a7ea322f21a6550db280725dc3
2024-12-21T09:26:18.2523910Z updater | 2024/12/21 09:26:18 INFO <job_936361307> Finished job processing
2024-12-21T09:26:19.8090121Z updater | 2024/12/21 09:26:19 INFO <job_936361307> Starting job processing
2024-12-21T09:26:19.9125164Z   proxy | 2024/12/21 09:26:19 [008] GET https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:19.9125910Z 2024/12/21 09:26:19 [008] * authenticating git server request (host: github.com)
2024-12-21T09:26:20.0323369Z   proxy | 2024/12/21 09:26:20 [008] 200 https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.1449337Z   proxy | 2024/12/21 09:26:20 [010] GET https://github.com:443/crate-ci/typos.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.1450800Z   proxy | 2024/12/21 09:26:20 [010] * authenticating git server request (host: github.com)
2024-12-21T09:26:20.1910334Z   proxy | 2024/12/21 09:26:20 [010] 200 https://github.com:443/crate-ci/typos.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.3527072Z   proxy | 2024/12/21 09:26:20 [012] GET https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.3528164Z   proxy | 2024/12/21 09:26:20 [012] * authenticating git server request (host: github.com)
2024-12-21T09:26:20.3948383Z   proxy | 2024/12/21 09:26:20 [012] 200 https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.5004825Z   proxy | 2024/12/21 09:26:20 [014] GET https://github.com:443/docker/login-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.5006683Z 2024/12/21 09:26:20 [014] * authenticating git server request (host: github.com)
2024-12-21T09:26:20.5753553Z   proxy | 2024/12/21 09:26:20 [014] 200 https://github.com:443/docker/login-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.7050667Z   proxy | 2024/12/21 09:26:20 [016] GET https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.7052523Z   proxy | 2024/12/21 09:26:20 [016] 200 https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.8048548Z   proxy | 2024/12/21 09:26:20 [018] GET https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.8051082Z   proxy | 2024/12/21 09:26:20 [018] 200 https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.9047064Z   proxy | 2024/12/21 09:26:20 [020] GET https://github.com:443/dangoslen/dependabot-changelog-helper.git/info/refs?service=git-upload-pack
2024-12-21T09:26:20.9048349Z   proxy | 2024/12/21 09:26:20 [020] * authenticating git server request (host: github.com)
2024-12-21T09:26:20.9510813Z   proxy | 2024/12/21 09:26:20 [020] 200 https://github.com:443/dangoslen/dependabot-changelog-helper.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.0728493Z   proxy | 2024/12/21 09:26:21 [022] GET https://github.com:443/stefanzweifel/git-auto-commit-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.0730011Z 2024/12/21 09:26:21 [022] * authenticating git server request (host: github.com)
2024-12-21T09:26:21.1181470Z   proxy | 2024/12/21 09:26:21 [022] 200 https://github.com:443/stefanzweifel/git-auto-commit-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.2208730Z   proxy | 2024/12/21 09:26:21 [024] GET https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.2210123Z   proxy | 2024/12/21 09:26:21 [024] 200 https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.3251985Z   proxy | 2024/12/21 09:26:21 [026] GET https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.3253615Z   proxy | 2024/12/21 09:26:21 [026] 200 https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.4245110Z   proxy | 2024/12/21 09:26:21 [028] GET https://github.com:443/docker/login-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.4246761Z 2024/12/21 09:26:21 [028] 200 https://github.com:443/docker/login-action.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.5285341Z   proxy | 2024/12/21 09:26:21 [030] GET https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.5286923Z 2024/12/21 09:26:21 [030] 200 https://github.com:443/actions/checkout.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.6286086Z   proxy | 2024/12/21 09:26:21 [032] GET https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.6287946Z 2024/12/21 09:26:21 [032] 200 https://github.com:443/extractions/setup-just.git/info/refs?service=git-upload-pack
2024-12-21T09:26:21.7261126Z   proxy | 2024/12/21 09:26:21 [034] POST /update_jobs/936361307/record_update_job_error
2024-12-21T09:26:21.7939053Z   proxy | 2024/12/21 09:26:21 [034] 204 /update_jobs/936361307/record_update_job_error
2024-12-21T09:26:21.8443749Z   proxy | 2024/12/21 09:26:21 [036] PATCH /update_jobs/936361307/mark_as_processed
2024-12-21T09:26:21.9365469Z   proxy | 2024/12/21 09:26:21 [036] 204 /update_jobs/936361307/mark_as_processed
2024-12-21T09:26:21.9385785Z updater | 2024/12/21 09:26:21 INFO <job_936361307> Finished job processing
2024-12-21T09:26:21.9417887Z updater | 2024/12/21 09:26:21 INFO Results:
2024-12-21T09:26:21.9418924Z Dependabot encountered '1' error(s) during execution, please check the logs for more details.
2024-12-21T09:26:21.9419735Z +----------------------+
2024-12-21T09:26:21.9420654Z |        Errors        |
2024-12-21T09:26:21.9421168Z +----------------------+
2024-12-21T09:26:21.9421662Z | unresolvable_version |
2024-12-21T09:26:21.9422167Z +----------------------+
2024-12-21T09:26:22.0816680Z Failure running container 80b667eebe441ffd7bc682f805ac24c711fec197ca8fb1ae63720102b1cb3b8e
2024-12-21T09:26:22.0926512Z Cleaned up container 80b667eebe441ffd7bc682f805ac24c711fec197ca8fb1ae63720102b1cb3b8e
2024-12-21T09:26:22.1026190Z   proxy | 2024/12/21 09:26:22 7/18 calls cached (38%)
2024-12-21T09:26:22.1026977Z 2024/12/21 09:26:22 Posting metrics to remote API endpoint
2024-12-21T09:26:22.6834822Z ##[error]Dependabot encountered an error performing the update

Error: The updater encountered one or more errors.

@CramBL
Copy link

CramBL commented Dec 21, 2024

No sorry, reverting the change did not fix anything. Dependabot has an issue right now.

@dangoslen
Copy link
Owner

Sorry for being MIA yesterday.

I did update this repo on main to use the releases/v3.11 branch, and my run happened to work with no problem. That doesn't confirm it fixes the parsing issue, but I don't think (as you pointed out) the error you experienced was related to those changes.

Let me know when you have a chance to confirm and I can release quickly after (just a few merges to upstream branches to add the tags)

@CramBL
Copy link

CramBL commented Dec 23, 2024

On the private repo dependabot still doesn't run but I used it on a public one: https://github.com/luftkode/plotinator3000

And there's another issue with the dependency entry. The changelog helper workflow is here: https://github.com/luftkode/plotinator3000/blob/master/.github/workflows/dependabot_changelog.yml

And the changelog entry looks like this:

### Dependencies
- Bump `serde` from 1.0.215 to 1.0.216 ([#143](https://github.com/luftkode/plotinator3000/pull/143))

- Bump `chrono` from 0.4.38 to 0.4.39 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `semver` from 1.0.23 to 1.0.24 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `env_logger` from 0.11.5 to 0.11.6 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `zip` from 2.2.1 to 2.2.2 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `wasm-bindgen-futures` from 0.4.47 to 0.4.49 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `web-sys` from 0.3.74 to 0.3.76 ([#143](https://github.com/luftkode/plotinator3000/pull/143))
- Bump `thiserror` from 2.0.4 to 2.0.9 ([#143](https://github.com/luftkode/plotinator3000/pull/143))

So there's an extra line ending after the first entry. I observed the same thing in the other repo.

There should also be a blank line between the section header and the first entry. See markdown-guide.org about headings, google's markdown style guide etc.

@CramBL
Copy link

CramBL commented Dec 23, 2024

I see the same issue here on a personal project of mine: https://github.com/CramBL/fidelityfetch/pull/35/files

## [unreleased]

### Dependencies
- Bump `clap_complete` from 4.5.38 to 4.5.40 ([#35](https://github.com/CramBL/fidelityfetch/pull/35))

- Bump `mdns-sd` from 0.13.0 to 0.13.1 ([#35](https://github.com/CramBL/fidelityfetch/pull/35))
- Bump `thiserror` from 2.0.7 to 2.0.9 ([#35](https://github.com/CramBL/fidelityfetch/pull/35))
## [0.4.1]

### Changed
...

It should also add a newline after the last entry

@dangoslen
Copy link
Owner

dangoslen commented Dec 23, 2024

Thanks for reporting these bugs!

I've fixed this newline after the first entry vs. the last (effectively the same bug in reality). I reported that in a new issue for tracking purposes, but I should have a PR shortly.

Adding the newline after the heading is a good idea, but I wouldn't call it a bug. The style guide you reference is great but not strictly necessary. I'll address that in a v4 release (which needs to happen soon based on some of these issues) since the existing style of this tool has been to not include it.

@dangoslen
Copy link
Owner

The releases/v3.11 branch has those updates now.

I'll try to cut the tag if you have time to verify, but I will be slow to respond the rest of this week with Christmas plans.

Thanks for your patience on this and for reporting the issues!

@CramBL
Copy link

CramBL commented Dec 29, 2024

Hi @dangoslen just want to let you that I made an action for creating changelog entries from dependabot PRs now, to fit my own needs which includes committing and pushing the changes. It doesn't do everything dependabot-changelog-helper does but I took inspiration from this project, thank you for that, you might find some inspiration from my solution as well. One of my goals was to use no Regex, in that way it's very different from dependabot-changelog-helper. I'll add an "alternatives" section with a link to dependabot-changelog-helper before I publish my action.

@dangoslen
Copy link
Owner

Thanks for letting me know! Sorry, this action didn't fit your needs, but glad it was able to help you in at least some way. Let me know when it is published, and I'll be sure to link out to whatever your project is an alternative to this project as well.

Thanks again for your patience and for opening up the issues.

@CramBL
Copy link

CramBL commented Jan 1, 2025

Hi @dangoslen, just letting you know I published the action at https://github.com/marketplace/actions/dependabot-changelog-writer 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants