bcgov / nr-compliance-enforcement

A scalable solution that manages public complaints as well as investigative case files for multiple Compliance and Enforcement divisions across the natural resource sector.
Apache License 2.0
3 stars 2 forks source link

fix: adjust prod release flow to support release branch lookup #737

Closed jon-funk closed 3 weeks ago

jon-funk commented 3 weeks ago

Description

Adjusts and renames the prior merge to main release workflow from a push based workflow to exclusively workflow_dispatch. release_branch is required and is used to lookup the latest PR on the targeted release branch.

Note: workflow_dispatch based workflows unfortunately cannot be run until they are merged into main so testing this with the UI user input will be done live. Here's a sample of the script being run locally:

Detected release branch: release/frilled-dogwinkle
Got Latest PR: 734
Latest PR number from release/frilled-dogwinkle: 734

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud