-
-
Notifications
You must be signed in to change notification settings - Fork 557
fix: updating release draft status from true to false #316
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
Conversation
|
@galargh can you fix the merge conflicts? Thanks! |
|
Of course! Done :) The diff is much cleaner now. One possible optimisation for some use cases could be to:
Let me know if you want me to add that. |
chenrui333
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, can you add some tests as well?
|
also can you post some examples of how this PR (by pointing to the latest commit of this PR) being used. |
…` -> `false` transition (#444) This works around `softprops/action-gh-release` not being able to properly "publish" a release by changing `draft: true` to `draft: false`. The intention is that the step with `draft: false` would find the existing draft release and update it (publishing it). This is what correctly happened for a testing `v0.12.3-beta.3` release from this branch: https://github.com/pantsbuild/scie-pants/releases/tag/v0.12.3-beta.3 (I also did attempted a `v0.12.3-beta.2` from this branch, but that used a newer version of the action code and failed completely, see below.) Previously, the action would fail to find the existing draft release and instead create a duplicate one. The old behaviour is visible (to people who can see draft releases) with `v0.12.3-beta.0` and `-beta.1`. The particular new version of the action is: - changes: softprops/action-gh-release@master...huonw:action-gh-release:huonw/pantsbuild-fix-see-scie-pants-439 (specifically commit huonw/action-gh-release@998f80d from branch https://github.com/huonw/action-gh-release/commits/huonw/pantsbuild-fix-see-scie-pants-439 ) - this is v2.0.9 (the current `v2` tag) with softprops/action-gh-release#316 merged in - using v2.2.0 (the latest version of the action) fails while uploading artifacts with errors like `Request body length does not match content-length header`, so this sticks with the older version.
|
Hey there, thank you all for both maintaining and contributing to this action, we use it and it is helpful! Here's an example of using this PR in practice: pantsbuild/scie-pants#444 (note that we're using a custom fork but it's literally just v2.0.9 + this PR's code merged in) The resulting workflow is: https://github.com/pantsbuild/scie-pants/blob/9d73b15a0f602de1359c842a7b153b1dda53c7e9/.github/workflows/release.yml
I hope that provides some reassurance that this code seems to be functioning correctly in practice. (As I said above, thanks for maintaining and contributing.) |
… into patch-1 Signed-off-by: Rui Chen <[email protected]>
|
Thanks @huonw for the context. |
Bumps the github-actions group with 4 updates: [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm), [softprops/action-gh-release](https://github.com/softprops/action-gh-release), [github/codeql-action](https://github.com/github/codeql-action) and [ruby/setup-ruby](https://github.com/ruby/setup-ruby). Updates `graalvm/setup-graalvm` from 1.3.5 to 1.3.6 Release notes *Sourced from [graalvm/setup-graalvm's releases](https://github.com/graalvm/setup-graalvm/releases).* > v1.3.6 > ------ > > What's Changed > -------------- > > * Bump the npm-development group with 6 updates by [`@dependabot`](https://github.com/dependabot)[bot] in [graalvm/setup-graalvm#174](https://redirect.github.com/graalvm/setup-graalvm/pull/174) > * Bump jest and `@types/jest` by [`@dependabot`](https://github.com/dependabot)[bot] in [graalvm/setup-graalvm#175](https://redirect.github.com/graalvm/setup-graalvm/pull/175) > * Bump `@actions/cache` from 4.0.3 to 4.0.5 in the npm-production group by [`@dependabot`](https://github.com/dependabot)[bot] in [graalvm/setup-graalvm#178](https://redirect.github.com/graalvm/setup-graalvm/pull/178) > > **Full Changelog**: <graalvm/setup-graalvm@v1.3.5...v1.3.6> Commits * [`7a1da54`](graalvm/setup-graalvm@7a1da54) Bump version to `1.3.6`. * [`19b0dc9`](graalvm/setup-graalvm@19b0dc9) Update dist files. * [`3faee52`](graalvm/setup-graalvm@3faee52) Bump `@actions/cache` from 4.0.3 to 4.0.5 in the npm-production group * [`f6fd5af`](graalvm/setup-graalvm@f6fd5af) Bump jest and `@types/jest` * [`1c83fc6`](graalvm/setup-graalvm@1c83fc6) Bump the npm-development group with 6 updates * See full diff in [compare view](graalvm/setup-graalvm@7f488cf...7a1da54) Updates `softprops/action-gh-release` from 2.3.2 to 2.3.3 Release notes *Sourced from [softprops/action-gh-release's releases](https://github.com/softprops/action-gh-release/releases).* > v2.3.3 > ------ > > What's Changed > -------------- > > ### Exciting New Features 🎉 > > * feat: add input option `overwrite_files` by [`@asfernandes`](https://github.com/asfernandes) in [softprops/action-gh-release#343](https://redirect.github.com/softprops/action-gh-release/pull/343) > > ### Other Changes 🔄 > > * dependency updates > > New Contributors > ---------------- > > * [`@asfernandes`](https://github.com/asfernandes) made their first contribution in [softprops/action-gh-release#343](https://redirect.github.com/softprops/action-gh-release/pull/343) > > **Full Changelog**: <softprops/action-gh-release@v2...v2.3.3> Changelog *Sourced from [softprops/action-gh-release's changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md).* > 2.3.3 > ----- > > What's Changed > -------------- > > ### Exciting New Features 🎉 > > * feat: add input option `overwrite_files` by [`@asfernandes`](https://github.com/asfernandes) in [softprops/action-gh-release#343](https://redirect.github.com/softprops/action-gh-release/pull/343) > > ### Other Changes 🔄 > > * dependency updates > > 2.3.2 > ----- > > * fix: revert fs `readableWebStream` change > > 2.3.1 > ----- > > ### Bug fixes 🐛 > > * fix: fix file closing issue by [`@WailGree`](https://github.com/WailGree) in [softprops/action-gh-release#629](https://redirect.github.com/softprops/action-gh-release/pull/629) > > 2.3.0 > ----- > > * Migrate from jest to vitest > * Replace `mime` with `mime-types` > * Bump to use node 24 > * Dependency updates > > 2.2.2 > ----- > > What's Changed > -------------- > > ### Bug fixes 🐛 > > * fix: updating release draft status from true to false by [`@galargh`](https://github.com/galargh) in [softprops/action-gh-release#316](https://redirect.github.com/softprops/action-gh-release/pull/316) > > ### Other Changes 🔄 > > * chore: simplify ref\_type test by [`@steinybot`](https://github.com/steinybot) in [softprops/action-gh-release#598](https://redirect.github.com/softprops/action-gh-release/pull/598) > * fix(docs): clarify the default for tag\_name by [`@muzimuzhi`](https://github.com/muzimuzhi) in [softprops/action-gh-release#599](https://redirect.github.com/softprops/action-gh-release/pull/599) > * test(release): add unit tests when searching for a release by [`@rwaskiewicz`](https://github.com/rwaskiewicz) in [softprops/action-gh-release#603](https://redirect.github.com/softprops/action-gh-release/pull/603) > * dependency updates > > 2.2.1 > ----- > > What's Changed > -------------- > > ### Bug fixes 🐛 ... (truncated) Commits * [`6cbd405`](softprops/action-gh-release@6cbd405) release 2.3.3 * [`fbadcc9`](softprops/action-gh-release@fbadcc9) update to use `actions/checkout@v5` * [`4a84006`](softprops/action-gh-release@4a84006) chore(deps): bump `@types/node` from 20.19.10 to 20.19.11 in the npm group ([#648](https://redirect.github.com/softprops/action-gh-release/issues/648)) * [`7191749`](softprops/action-gh-release@7191749) chore(deps): bump actions/checkout in the github-actions group ([#649](https://redirect.github.com/softprops/action-gh-release/issues/649)) * [`126b1e7`](softprops/action-gh-release@126b1e7) chore(deps): bump `@types/node` from 20.19.9 to 20.19.10 in the npm group ([#647](https://redirect.github.com/softprops/action-gh-release/issues/647)) * [`f82d31e`](softprops/action-gh-release@f82d31e) chore(deps): bump the npm group with 3 updates ([#643](https://redirect.github.com/softprops/action-gh-release/issues/643)) * [`f2352b9`](softprops/action-gh-release@f2352b9) chore(deps): bump `@types/node` from 20.19.2 to 20.19.7 in the npm group ([#640](https://redirect.github.com/softprops/action-gh-release/issues/640)) * [`f0b3259`](softprops/action-gh-release@f0b3259) chore(deps): bump the npm group across 1 directory with 4 updates ([#638](https://redirect.github.com/softprops/action-gh-release/issues/638)) * [`f37a2f9`](softprops/action-gh-release@f37a2f9) chore(deps): bump the npm group with 2 updates ([#635](https://redirect.github.com/softprops/action-gh-release/issues/635)) * [`db56014`](softprops/action-gh-release@db56014) chore(deps): bump brace-expansion from 2.0.1 to 2.0.2 ([#634](https://redirect.github.com/softprops/action-gh-release/issues/634)) * Additional commits viewable in [compare view](softprops/action-gh-release@72f2c25...6cbd405) Updates `github/codeql-action` from 3.29.11 to 3.30.1 Release notes *Sourced from [github/codeql-action's releases](https://github.com/github/codeql-action/releases).* > v3.30.1 > ------- > > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > 3.30.1 - 05 Sep 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.0. [#3077](https://redirect.github.com/github/codeql-action/pull/3077) > > See the full [CHANGELOG.md](https://github.com/github/codeql-action/blob/v3.30.1/CHANGELOG.md) for more information. > > v3.30.0 > ------- > > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > 3.30.0 - 01 Sep 2025 > -------------------- > > * Reduce the size of the CodeQL Action, speeding up workflows by approximately 4 seconds. [#3054](https://redirect.github.com/github/codeql-action/pull/3054) > > See the full [CHANGELOG.md](https://github.com/github/codeql-action/blob/v3.30.0/CHANGELOG.md) for more information. Changelog *Sourced from [github/codeql-action's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).* > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > [UNRELEASED] > ------------ > > No user facing changes. > > 3.30.1 - 05 Sep 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.0. [#3077](https://redirect.github.com/github/codeql-action/pull/3077) > > 3.30.0 - 01 Sep 2025 > -------------------- > > * Reduce the size of the CodeQL Action, speeding up workflows by approximately 4 seconds. [#3054](https://redirect.github.com/github/codeql-action/pull/3054) > > 3.29.11 - 21 Aug 2025 > --------------------- > > * Update default CodeQL bundle version to 2.22.4. [#3044](https://redirect.github.com/github/codeql-action/pull/3044) > > 3.29.10 - 18 Aug 2025 > --------------------- > > No user facing changes. > > 3.29.9 - 12 Aug 2025 > -------------------- > > No user facing changes. > > 3.29.8 - 08 Aug 2025 > -------------------- > > * Fix an issue where the Action would autodetect unsupported languages such as HTML. [#3015](https://redirect.github.com/github/codeql-action/pull/3015) > > 3.29.7 - 07 Aug 2025 > -------------------- > > This release rolls back 3.29.6 to address issues with language autodetection. It is identical to 3.29.5. > > 3.29.6 - 07 Aug 2025 > -------------------- > > * The `cleanup-level` input to the `analyze` Action is now deprecated. The CodeQL Action has written a limited amount of intermediate results to the database since version 2.2.5, and now automatically manages cleanup. [#2999](https://redirect.github.com/github/codeql-action/pull/2999) > * Update default CodeQL bundle version to 2.22.3. [#3000](https://redirect.github.com/github/codeql-action/pull/3000) > > 3.29.5 - 29 Jul 2025 > -------------------- > > * Update default CodeQL bundle version to 2.22.2. [#2986](https://redirect.github.com/github/codeql-action/pull/2986) > > 3.29.4 - 23 Jul 2025 > -------------------- > > No user facing changes. > > 3.29.3 - 21 Jul 2025 > -------------------- ... (truncated) Commits * [`f1f6e5f`](github/codeql-action@f1f6e5f) Merge pull request [#3081](https://redirect.github.com/github/codeql-action/issues/3081) from github/update-v3.30.1-2d2f57ed3 * [`5dd2164`](github/codeql-action@5dd2164) Update changelog for v3.30.1 * [`2d2f57e`](github/codeql-action@2d2f57e) Merge pull request [#3079](https://redirect.github.com/github/codeql-action/issues/3079) from github/mbg/proxy/accept-git-source * [`b364f99`](github/codeql-action@b364f99) Merge pull request [#3077](https://redirect.github.com/github/codeql-action/issues/3077) from github/update-bundle/codeql-bundle-v2.23.0 * [`5b8860a`](github/codeql-action@5b8860a) Merge branch 'main' into update-bundle/codeql-bundle-v2.23.0 * [`8fe8b24`](github/codeql-action@8fe8b24) Add `git_source` as supported registry type for Go * [`6242bcb`](github/codeql-action@6242bcb) Allow multiple registry types in `LANGUAGE_TO_REGISTRY_TYPE` * [`dfb741d`](github/codeql-action@dfb741d) Merge pull request [#3075](https://redirect.github.com/github/codeql-action/issues/3075) from github/mbg/remove-augmentation-properties * [`920bba1`](github/codeql-action@920bba1) Add unit tests for `createInitWithConfigStatusReport` * [`37ddb03`](github/codeql-action@37ddb03) Add `createInitWithConfigStatusReport` function * Additional commits viewable in [compare view](github/codeql-action@3c3833e...f1f6e5f) Updates `ruby/setup-ruby` from 1.256.0 to 1.257.0 Release notes *Sourced from [ruby/setup-ruby's releases](https://github.com/ruby/setup-ruby/releases).* > v1.257.0 > -------- > > What's Changed > -------------- > > * Update README.md by [`@jwillemsen`](https://github.com/jwillemsen) in [ruby/setup-ruby#799](https://redirect.github.com/ruby/setup-ruby/pull/799) > * Add jruby-9.4.14.0 by [`@ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#800](https://redirect.github.com/ruby/setup-ruby/pull/800) > > **Full Changelog**: <ruby/setup-ruby@v1.256.0...v1.257.0> Commits * [`4451173`](ruby/setup-ruby@4451173) Remove workaround for old truffleruby version from 2021 * [`805f878`](ruby/setup-ruby@805f878) Remove failing test * [`ab85640`](ruby/setup-ruby@ab85640) Add jruby-9.4.14.0 * [`c2e9820`](ruby/setup-ruby@c2e9820) Update README.md * See full diff in [compare view](ruby/setup-ruby@efbf473...4451173) 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) --- 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the github-actions group with 3 updates: [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm), [softprops/action-gh-release](https://github.com/softprops/action-gh-release) and [github/codeql-action](https://github.com/github/codeql-action). Updates `graalvm/setup-graalvm` from 1.4.0 to 1.4.1 Commits * [`2a24120`](graalvm/setup-graalvm@2a24120) Bump version to `1.4.1`. * [`39a82c0`](graalvm/setup-graalvm@39a82c0) Update dist files. * [`62b95e6`](graalvm/setup-graalvm@62b95e6) Drop redundant dependency on `@types/uuid`. * [`a19d2ab`](graalvm/setup-graalvm@a19d2ab) Fix response data handling after dep update. * [`319b506`](graalvm/setup-graalvm@319b506) Bump the npm-updates group across 1 directory with 13 updates * See full diff in [compare view](graalvm/setup-graalvm@e140024...2a24120) Updates `softprops/action-gh-release` from 2.3.3 to 2.3.4 Release notes *Sourced from [softprops/action-gh-release's releases](https://github.com/softprops/action-gh-release/releases).* > v2.3.4 > ------ > > What's Changed > -------------- > > ### Bug fixes 🐛 > > * fix(action): handle 422 already\_exists race condition by [`@stephenway`](https://github.com/stephenway) in [softprops/action-gh-release#665](https://redirect.github.com/softprops/action-gh-release/pull/665) > > ### Other Changes 🔄 > > * chore(deps): bump actions/setup-node from 4.4.0 to 5.0.0 in the github-actions group by [`@dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#656](https://redirect.github.com/softprops/action-gh-release/pull/656) > * chore(deps): bump `@types/node` from 20.19.11 to 20.19.13 in the npm group by [`@dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#655](https://redirect.github.com/softprops/action-gh-release/pull/655) > * chore(deps): bump vite from 7.0.0 to 7.1.5 by [`@dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#657](https://redirect.github.com/softprops/action-gh-release/pull/657) > * chore(deps): bump the npm group across 1 directory with 2 updates by [`@dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#662](https://redirect.github.com/softprops/action-gh-release/pull/662) > * chore(deps): bump the npm group with 3 updates by [`@dependabot`](https://github.com/dependabot)[bot] in [softprops/action-gh-release#666](https://redirect.github.com/softprops/action-gh-release/pull/666) > > **Full Changelog**: <softprops/action-gh-release@v2...v2.3.4> Changelog *Sourced from [softprops/action-gh-release's changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md).* > 2.3.4 > ----- > > What's Changed > -------------- > > ### Bug fixes 🐛 > > * fix(action): handle 422 already\_exists race condition by [`@stephenway`](https://github.com/stephenway) in [softprops/action-gh-release#665](https://redirect.github.com/softprops/action-gh-release/pull/665) > > ### Other Changes 🔄 > > * dependency updates > > 2.3.3 > ----- > > What's Changed > -------------- > > ### Exciting New Features 🎉 > > * feat: add input option `overwrite_files` by [`@asfernandes`](https://github.com/asfernandes) in [softprops/action-gh-release#343](https://redirect.github.com/softprops/action-gh-release/pull/343) > > ### Other Changes 🔄 > > * dependency updates > > 2.3.2 > ----- > > * fix: revert fs `readableWebStream` change > > 2.3.1 > ----- > > ### Bug fixes 🐛 > > * fix: fix file closing issue by [`@WailGree`](https://github.com/WailGree) in [softprops/action-gh-release#629](https://redirect.github.com/softprops/action-gh-release/pull/629) > > 2.3.0 > ----- > > * Migrate from jest to vitest > * Replace `mime` with `mime-types` > * Bump to use node 24 > * Dependency updates > > 2.2.2 > ----- > > What's Changed > -------------- > > ### Bug fixes 🐛 > > * fix: updating release draft status from true to false by [`@galargh`](https://github.com/galargh) in [softprops/action-gh-release#316](https://redirect.github.com/softprops/action-gh-release/pull/316) > > ### Other Changes 🔄 ... (truncated) Commits * [`62c96d0`](softprops/action-gh-release@62c96d0) release 2.3.4 * [`7dc9b8a`](softprops/action-gh-release@7dc9b8a) fix(action): handle 422 already\_exists race condition ([#665](https://redirect.github.com/softprops/action-gh-release/issues/665)) * [`0f0e0b9`](softprops/action-gh-release@0f0e0b9) chore(deps): bump the npm group with 3 updates ([#666](https://redirect.github.com/softprops/action-gh-release/issues/666)) * [`97d42c1`](softprops/action-gh-release@97d42c1) chore(deps): bump the npm group across 1 directory with 2 updates ([#662](https://redirect.github.com/softprops/action-gh-release/issues/662)) * [`19cd0bc`](softprops/action-gh-release@19cd0bc) chore(deps): bump vite from 7.0.0 to 7.1.5 ([#657](https://redirect.github.com/softprops/action-gh-release/issues/657)) * [`5d1b0b1`](softprops/action-gh-release@5d1b0b1) chore(deps): bump `@types/node` from 20.19.11 to 20.19.13 in the npm group ([#655](https://redirect.github.com/softprops/action-gh-release/issues/655)) * [`f6021cf`](softprops/action-gh-release@f6021cf) chore(deps): bump actions/setup-node in the github-actions group ([#656](https://redirect.github.com/softprops/action-gh-release/issues/656)) * See full diff in [compare view](softprops/action-gh-release@6cbd405...62c96d0) Updates `github/codeql-action` from 3.30.5 to 3.30.6 Release notes *Sourced from [github/codeql-action's releases](https://github.com/github/codeql-action/releases).* > v3.30.6 > ------- > > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > 3.30.6 - 02 Oct 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.2. [#3168](https://redirect.github.com/github/codeql-action/pull/3168) > > See the full [CHANGELOG.md](https://github.com/github/codeql-action/blob/v3.30.6/CHANGELOG.md) for more information. Changelog *Sourced from [github/codeql-action's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).* > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > [UNRELEASED] > ------------ > > No user facing changes. > > 3.30.6 - 02 Oct 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.2. [#3168](https://redirect.github.com/github/codeql-action/pull/3168) > > 3.30.5 - 26 Sep 2025 > -------------------- > > * We fixed a bug that was introduced in `3.30.4` with `upload-sarif` which resulted in files without a `.sarif` extension not getting uploaded. [#3160](https://redirect.github.com/github/codeql-action/pull/3160) > > 3.30.4 - 25 Sep 2025 > -------------------- > > * We have improved the CodeQL Action's ability to validate that the workflow it is used in does not use different versions of the CodeQL Action for different workflow steps. Mixing different versions of the CodeQL Action in the same workflow is unsupported and can lead to unpredictable results. A warning will now be emitted from the `codeql-action/init` step if different versions of the CodeQL Action are detected in the workflow file. Additionally, an error will now be thrown by the other CodeQL Action steps if they load a configuration file that was generated by a different version of the `codeql-action/init` step. [#3099](https://redirect.github.com/github/codeql-action/pull/3099) and [#3100](https://redirect.github.com/github/codeql-action/pull/3100) > * We added support for reducing the size of dependency caches for Java analyses, which will reduce cache usage and speed up workflows. This will be enabled automatically at a later time. [#3107](https://redirect.github.com/github/codeql-action/pull/3107) > * You can now run the latest CodeQL nightly bundle by passing `tools: nightly` to the `init` action. In general, the nightly bundle is unstable and we only recommend running it when directed by GitHub staff. [#3130](https://redirect.github.com/github/codeql-action/pull/3130) > * Update default CodeQL bundle version to 2.23.1. [#3118](https://redirect.github.com/github/codeql-action/pull/3118) > > 3.30.3 - 10 Sep 2025 > -------------------- > > No user facing changes. > > 3.30.2 - 09 Sep 2025 > -------------------- > > * Fixed a bug which could cause language autodetection to fail. [#3084](https://redirect.github.com/github/codeql-action/pull/3084) > * Experimental: The `quality-queries` input that was added in `3.29.2` as part of an internal experiment is now deprecated and will be removed in an upcoming version of the CodeQL Action. It has been superseded by a new `analysis-kinds` input, which is part of the same internal experiment. Do not use this in production as it is subject to change at any time. [#3064](https://redirect.github.com/github/codeql-action/pull/3064) > > 3.30.1 - 05 Sep 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.0. [#3077](https://redirect.github.com/github/codeql-action/pull/3077) > > 3.30.0 - 01 Sep 2025 > -------------------- > > * Reduce the size of the CodeQL Action, speeding up workflows by approximately 4 seconds. [#3054](https://redirect.github.com/github/codeql-action/pull/3054) > > 3.29.11 - 21 Aug 2025 > --------------------- > > * Update default CodeQL bundle version to 2.22.4. [#3044](https://redirect.github.com/github/codeql-action/pull/3044) > > 3.29.10 - 18 Aug 2025 > --------------------- > > No user facing changes. > > 3.29.9 - 12 Aug 2025 > -------------------- ... (truncated) Commits * [`64d10c1`](github/codeql-action@64d10c1) Merge pull request [#3172](https://redirect.github.com/github/codeql-action/issues/3172) from github/update-v3.30.6-10feb5d2a * [`909610e`](github/codeql-action@909610e) Update changelog for v3.30.6 * [`10feb5d`](github/codeql-action@10feb5d) Merge pull request [#3167](https://redirect.github.com/github/codeql-action/issues/3167) from github/mbg/upload-sarif/find-then-filter * [`4182ea3`](github/codeql-action@4182ea3) Merge pull request [#3168](https://redirect.github.com/github/codeql-action/issues/3168) from github/update-bundle/codeql-bundle-v2.23.2 * [`34afe5b`](github/codeql-action@34afe5b) Merge pull request [#3171](https://redirect.github.com/github/codeql-action/issues/3171) from github/mbg/start-proxy/telemetry * [`096fe67`](github/codeql-action@096fe67) Merge branch 'main' into update-bundle/codeql-bundle-v2.23.2 * [`b496401`](github/codeql-action@b496401) Merge pull request [#3170](https://redirect.github.com/github/codeql-action/issues/3170) from github/mbg/start-proxy/remove-update-workflow * [`d573787`](github/codeql-action@d573787) Report registry types that are configured for CodeQL in `start-proxy` telemetry * [`1591680`](github/codeql-action@1591680) Send a basic status report in `start-proxy` Action if it succeeds * [`cb5a284`](github/codeql-action@cb5a284) Send status report when `start-proxy` fails * Additional commits viewable in [compare view](github/codeql-action@3599b3b...64d10c1) 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) --- 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Hi! Thanks for creating this action 😊
One issue I've encountered is that it's currently impossible to use the action to publish a draft issue.
In this PR, I'm trying to address this issue by changing how
existingReleaseis being looked for from agetReleaseByTagcall to iterating throughallReleases. Previously, we were only iterating throughallReleasesif the desired state of the release wasdraft.I'd suggest reviewing with whitespace changes hidden: https://github.com/softprops/action-gh-release/pull/316/files?diff=split&w=1
Testing