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

Update github/branch-deploy action to v8 - autoclosed #1166

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github/branch-deploy action major v7.5.2 -> v8.2.1

Release Notes

github/branch-deploy (github/branch-deploy)

v8.2.1

Compare Source

This patch release contains internal dependency updates

What's Changed

Full Changelog: github/branch-deploy@v8...v8.2.1

v8.2.0

Compare Source

What's Changed

Full Changelog: github/branch-deploy@v8...v8.2.0

v8.1.2

Compare Source

What's Changed

This release updates internal node dependencies that this Action uses

Full Changelog: github/branch-deploy@v8...v8.1.2

v8.1.1

Compare Source

This patch release simply upgrades internal node packages and dependencies

What's Changed

Full Changelog: github/branch-deploy@v8.1.0...v8.1.1

v8.1.0

Compare Source

This release introduces two new input options!

  • allow_sha_deployments - Enable deployments to exact SHA1 or SHA256 hashes that represent a point-in-time in your commit history
  • disable_naked_commands - Prevent naked deploy commands and enforce environment usage in your commands

These new input options can be enabled like so:

- uses: github/[email protected]
  id: branch-deploy
  with:
    allow_sha_deployments: "true" # <-- allow deployments to SHA hashes
    disable_naked_commands: "true" # <-- prevent the use of .deploy without a specific <environment>

Both of these new input options are disabled by default but can be enabled if you choose to do so. Please ensure you read the documentation about each option before toggling them on as they can drastically change the behavior of this Action

Documentation:

What's Changed

Thanks to @​tiagonbotelho for the SHA deployment suggestion and @​mnaser for UX suggestions with disabling "naked commands"

Full Changelog: github/branch-deploy@v8.0.0...v8.1.0

v8.0.0

Compare Source

⚠️ Breaking Change ⚠️

TL;DR: If you are using the production_environment input, add a letter s to the end of it to make it plural 😉

This breaking change only effects users who have production_environment defined as one of their input options. Simply add an "s" to the end of the input option and treat it as a comma separated list of strings. Here is an example:

...
  uses: github/[email protected]
  with:
    trigger: ".deploy"
    environment: "production"
    stable_branch: "main"
-   production_environment: "production"
+   production_environments: "production"

Release Details

This release enables support for multiple production environments. Before this change, the production_environment input value only accepted a single environment. This is not idea for projects that might do something like this:

  • .deploy production - Deploys code to the production environment
  • .deploy production-eu - Deploys code to a specialized European production environment (think, GDPR)

Since the production_environment input option only takes one value, we cannot set the production-eu environment as "production" via our API call to GitHub (happens inside of this Action for you). However, production-eu is absolutely a production environment, the name even says so!

To solve this, the production_environment input option will be removed and replaced with its plural counterpart -> production_environments (note the trailing s).

Now you can have lots of production environments, like this:

- name: branch-deploy
  id: branch-deploy
  uses: github/[email protected]
  with:
    trigger: ".deploy"
    noop_trigger: ".noop"
    reaction: "eyes"
    environment: "production"
    stable_branch: "main"
    production_environments: "production,production-eu,production-ap" # <-- a comma separated list of environments

What's Changed

Thanks to @​mnaser for the feedback around this improvement 🙇

Full Changelog: github/branch-deploy@v7.5.2...v8.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot temporarily deployed to kubernetes October 1, 2023 08:45 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from a27a367 to 087b224 Compare October 16, 2023 18:52
@renovate renovate bot temporarily deployed to kubernetes October 16, 2023 18:54 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 087b224 to 08358c4 Compare October 17, 2023 14:06
@renovate renovate bot temporarily deployed to kubernetes October 17, 2023 14:09 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 08358c4 to 94d48fe Compare October 17, 2023 14:09
@renovate renovate bot temporarily deployed to kubernetes October 17, 2023 14:11 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 94d48fe to 3c13aaa Compare October 25, 2023 20:24
@renovate renovate bot temporarily deployed to kubernetes October 25, 2023 20:26 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 3c13aaa to 9498447 Compare November 1, 2023 04:01
@renovate renovate bot temporarily deployed to kubernetes November 1, 2023 04:04 Inactive
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 9498447 to 2bd7f05 Compare November 1, 2023 04:04
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 2bd7f05 to 414e4c7 Compare December 1, 2023 22:28
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 414e4c7 to 29a5497 Compare December 18, 2023 22:13
@renovate renovate bot force-pushed the renovate/github-branch-deploy-8.x branch from 29a5497 to afdd747 Compare January 3, 2024 21:58
Copy link

sonarqubecloud bot commented Jan 3, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate renovate bot changed the title Update github/branch-deploy action to v8 Update github/branch-deploy action to v8 - autoclosed Feb 5, 2024
@renovate renovate bot closed this Feb 5, 2024
@renovate renovate bot deleted the renovate/github-branch-deploy-8.x branch February 5, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants