Skip to content

Commit 9c96613

Browse files
chore(deps): bump frequenz-floss/gh-action-dependabot-migrate from 1.1.1 to 1.2.1 (#282)
Bumps [frequenz-floss/gh-action-dependabot-migrate](https://github.com/frequenz-floss/gh-action-dependabot-migrate) from 1.1.1 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/releases">frequenz-floss/gh-action-dependabot-migrate's releases</a>.</em></p> <blockquote> <h2>v1.2.1</h2> <h2>What's Changed</h2> <ul> <li>Avoid setting migration labels if committing fails by <a href="https://github.com/llucax"><code>@​llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/pull/22">frequenz-floss/gh-action-dependabot-migrate#22</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/compare/v1.2.0...v1.2.1">https://github.com/frequenz-floss/gh-action-dependabot-migrate/compare/v1.2.0...v1.2.1</a></p> <h2>v1.2.0</h2> <h2>Release Notes</h2> <h3>New features</h3> <ul> <li> <p><strong><code>version-iteration</code> input</strong> — controls which intermediate versions are generated during multi-version jumps. Values: <code>&quot;false&quot;</code> (only the target version), <code>&quot;major&quot;</code>, <code>&quot;minor&quot;</code>, <code>&quot;patch&quot;</code> (iterate semver boundaries). When empty (default), the action preserves the historical v0.x minor iteration behaviour.</p> </li> <li> <p><strong><code>if-no-iterations</code> input</strong> — controls what happens when the selected iteration mode produces no versions: <code>&quot;error&quot;</code> fails the action, <code>&quot;pass&quot;</code> treats it as a clean no-op migration. Defaults to <code>&quot;error&quot;</code> under explicit <code>version-iteration</code> modes.</p> </li> <li> <p><strong><code>UPDATED_DEPENDENCIES_JSON</code> env var</strong> — The migration script now received the dependabot update details as JSON as provided by <a href="https://github.com/dependabot/fetch-metadata">dependabot/fetch-metadata</a>.</p> </li> </ul> <h3>Bug fixes</h3> <ul> <li><strong><code>migration_ran</code> output is now <code>&quot;true&quot;</code>.</strong> When <code>if-no-iterations</code> is <code>&quot;pass&quot;</code> and no versions are generated, enabling downstream labeling and auto-merge to proceed correctly.</li> </ul> <h3>Deprecations</h3> <ul> <li> <p><strong><code>iterate-v0-minors</code> is deprecated.</strong> A deprecation warning is emitted when it is explicitly set. Replace <code>iterate-v0-minors: &quot;true&quot;</code> with <code>version-iteration: &quot;minor&quot;</code> (and optionally <code>if-no-iterations: &quot;pass&quot;</code> if same-minor v0.x patch bumps should pass as a no-op). Replace <code>iterate-v0-minors: &quot;false&quot;</code> with <code>version-iteration: &quot;false&quot;</code>.</p> </li> <li> <p><strong>The implicit v0.x minor iteration default is deprecated.</strong> When neither <code>version-iteration</code> nor <code>iterate-v0-minors</code> is set, the action still iterates intermediate v0.x minors (preserving existing behaviour), but now emits a warning. This implicit default will be removed in a future release. Set <code>version-iteration</code> explicitly to silence the warning.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/eb100d3cf732b4808a7776eee8f303521efd494b"><code>eb100d3</code></a> Merge pull request <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/issues/22">#22</a> from llucax/fix-failure</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/39c2697f21055a0b0f3b9d97db284ad7928ccb3c"><code>39c2697</code></a> Avoid setting migration labels if committing fails</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/27763fb5eb56476d91abe00132e8a0614171f92f"><code>27763fb</code></a> Merge pull request <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/issues/17">#17</a> from llucax/version-jumps</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/e29b5bede206e6e5806c96a636bfc1a01b9e4164"><code>e29b5be</code></a> Merge pull request <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/issues/19">#19</a> from frequenz-floss/dependabot/github_actions/dependab...</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/b52f20998126cfc91b18b5dc8db96d5ac3c273a9"><code>b52f209</code></a> Merge pull request <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/issues/18">#18</a> from frequenz-floss/dependabot/github_actions/actions/...</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/3f5be00b790b3bfd791fbb2def6692896e57bb10"><code>3f5be00</code></a> Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/e1b0aea9c0cff31404fac7b823f6f8fb3068eaf8"><code>e1b0aea</code></a> Bump actions/create-github-app-token from 3.0.0 to 3.1.1</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/49eeffd120aa1fc7dd71421420c3164ba63891aa"><code>49eeffd</code></a> Generalise migration version iteration modes</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/f31474454fe81981842ccdda78cb20850c0e67d8"><code>f314744</code></a> Merge pull request <a href="https://redirect.github.com/frequenz-floss/gh-action-dependabot-migrate/issues/16">#16</a> from llucax/export-updated-deps</li> <li><a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/commit/190e5cdc18d48e5b89fa2b4663f1a624af1c1807"><code>190e5cd</code></a> Pass updated-dependencies-json to migration scripts</li> <li>See full diff in <a href="https://github.com/frequenz-floss/gh-action-dependabot-migrate/compare/45994e185a9040449304a470e8f02d0e197873b4...eb100d3cf732b4808a7776eee8f303521efd494b">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=frequenz-floss/gh-action-dependabot-migrate&package-manager=github_actions&previous-version=1.1.1&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 4b08798 + a9f5ebd commit 9c96613

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/black-migration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
# Read/update pull request metadata and labels.
6767
permission-pull-requests: write
6868
- name: Migrate
69-
uses: frequenz-floss/gh-action-dependabot-migrate@45994e185a9040449304a470e8f02d0e197873b4 # v1.1.1
69+
uses: frequenz-floss/gh-action-dependabot-migrate@eb100d3cf732b4808a7776eee8f303521efd494b # v1.2.1
7070
with:
7171
migration-script: |
7272
import os

.github/workflows/repo-config-migration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
# Allow pushes when migration changes workflow files.
5959
permission-workflows: write
6060
- name: Migrate
61-
uses: frequenz-floss/gh-action-dependabot-migrate@45994e185a9040449304a470e8f02d0e197873b4 # v1.1.1
61+
uses: frequenz-floss/gh-action-dependabot-migrate@eb100d3cf732b4808a7776eee8f303521efd494b # v1.2.1
6262
with:
6363
script-url-template: >-
6464
https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/{version}/cookiecutter/migrate.py

0 commit comments

Comments
 (0)