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

Bump github/branch-deploy from 7.2.0 to 8.0.0 #123

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2023

Bumps github/branch-deploy from 7.2.0 to 8.0.0.

Release notes

Sourced from github/branch-deploy's releases.

v8.0.0

⚠️ 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/branch-deploy@vX.X.X
  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/branch-deploy@vX.X.X
  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 🙇

... (truncated)

Commits
  • 82c238c Merge pull request #209 from github/production-environments
  • b3290f0 use production_environments - a comma separated string
  • a65073b production_environment -> production_environments
  • bfd31c1 Merge pull request #207 from github/npm-update
  • 708d971 update all node dependencies
  • 836edce Merge pull request #206 from github/node20
  • 2fee953 fix ci testing
  • 587d7db update node to v20
  • 346835a Merge pull request #205 from github/identical-commit-check-fixes
  • a6eb3d5 use 'info' color
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [github/branch-deploy](https://github.com/github/branch-deploy) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/github/branch-deploy/releases)
- [Commits](github/branch-deploy@v7.2.0...v8.0.0)

---
updated-dependencies:
- dependency-name: github/branch-deploy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies changes related to dependencies or packages github_actions Pull requests that update GitHub Actions code labels Sep 17, 2023
@github-actions
Copy link
Contributor

👋 Thanks for opening a pull request!

If you are new, please check out the trimmed down summary of the deployment process below:

  1. 👀 Observe the CI jobs and tests to ensure they are passing

  2. ✔️ Obtain an approval/review on this pull request

  3. 🚀 Deploy your pull request to the production environment with .deploy

    If anything goes wrong, rollback with .deploy main

  4. 🎉 Merge!

If you have a larger change and want to block deployments, you can run .lock --reason <reason> to lock all other deployments (remove with .unlock)

You can view the branch deploy usage guide for additional information

@GrantBirki
Copy link
Contributor

.deploy

@github-actions
Copy link
Contributor

Deployment Triggered 🚀

GrantBirki, started a branch deployment to github-pages

You can watch the progress here 🔗

Branch: dependabot/github_actions/github/branch-deploy-8.0.0

@github-actions github-actions bot temporarily deployed to github-pages September 17, 2023 04:03 Inactive
@github-actions
Copy link
Contributor

Deployment Results ✅

GrantBirki successfully deployed branch dependabot/github_actions/github/branch-deploy-8.0.0 to github-pages

View Live Deployment 🔗

@GrantBirki GrantBirki merged commit 719173e into main Sep 17, 2023
4 checks passed
@GrantBirki GrantBirki deleted the dependabot/github_actions/github/branch-deploy-8.0.0 branch September 17, 2023 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies changes related to dependencies or packages github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant