Skip to content

Commit

Permalink
Bump azure/CLI from 1 to 2 (#862)
Browse files Browse the repository at this point in the history
Bumps [azure/CLI](https://github.com/azure/cli) from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/azure/cli/releases">azure/CLI's
releases</a>.</em></p>
<blockquote>
<h2>GitHub Action for Azure CLI v2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update Action to use Node.js v20 by <a
href="https://github.com/eikooc"><code>@​eikooc</code></a> in <a
href="https://redirect.github.com/Azure/cli/pull/126">Azure/cli#126</a></li>
<li>Bump dependencies to the latest versions by <a
href="https://github.com/MoChilia"><code>@​MoChilia</code></a> in <a
href="https://redirect.github.com/Azure/cli/pull/135">Azure/cli#135</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/eikooc"><code>@​eikooc</code></a> made
their first contribution in <a
href="https://redirect.github.com/Azure/cli/pull/126">Azure/cli#126</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Azure/cli/compare/v1.0.9...v2">https://github.com/Azure/cli/compare/v1.0.9...v2</a></p>
<h2>GitHub Action for Azure CLI v1.0.9</h2>
<ul>
<li>Set action failure on a non-Linux-based OS (<a
href="https://redirect.github.com/azure/cli/issues/123">#123</a>)</li>
</ul>
<h2>GitHub Action for Azure CLI v1.0.8</h2>
<ul>
<li>Fix <a
href="https://redirect.github.com/azure/cli/issues/103">#103</a>:
Dealing with un-escaped environment variables which cause escalation of
privilege (<a
href="https://redirect.github.com/azure/cli/issues/105">#105</a>)</li>
</ul>
<h2>GitHub Action for Azure CLI v1.0.7</h2>
<ul>
<li>Upgraded action to use node 16 instead of node 12</li>
<li>Upgrade <code>@​actions/core</code> to ^1.10.0</li>
<li>Resolved other minor issues like <a
href="https://redirect.github.com/Azure/cli/issues/87">Azure/cli#87</a>
and <a
href="https://redirect.github.com/Azure/cli/issues/84">Azure/cli#84</a></li>
</ul>
<h2>GitHub Action for Azure CLI v1.0.6</h2>
<p>Resolved customer issue: <code>Error: /bin/sh: 1: az: not found in
v1.0.5</code> <a
href="https://redirect.github.com/Azure/cli/issues/62">Azure/cli#62</a></p>
<h2>GitHub Action for Azure CLI v1.0.5</h2>
<p>Resolved compatibility issues between az cli version on agent and
container.</p>
<h2>[email protected]</h2>
<ol>
<li>Adding support for using env. variables via GITHUB_ENV</li>
<li>Security vulnerability fix</li>
</ol>
<h2>GitHub Action for Azure CLI v1.0.3</h2>
<p>User-defined environment variables present in the workflow are now
accessible while execution of Azure CLI script.</p>
<h2>GitHub Action for Azure CLI v1.0.2</h2>
<p>Default environment variables provided by GitHub are now accessible
while execution of Azure CLI script. Environment variables with prefix
<code>GITHUB_*</code> are accessible during the script execution.</p>
<h2>GitHub Action for Azure CLI v1.0.1</h2>
<p>GITHUB_SHA default environment variable is available to use in the
script.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Azure/cli/blob/master/ReleaseProcess.md">azure/CLI's
changelog</a>.</em></p>
<blockquote>
<p><strong>Releasing a new version</strong></p>
<p>Semanting versioning is used to release different versions of the
action. Following steps are to be followed :</p>
<ol>
<li>Create a new branch for every major version. <br />
Example, releases/v1, releases/v2.</li>
<li>For every minor and patch release for a major version, update the
corresponding release branch. <br />
Example, for releasing v1.1.1, update releases/v1.</li>
<li>Create tags for every new release (major/minor/patch). <br />
Example,v1.0.0. , v1.0.1, v2.0.1, etc. and also have tags like v1, v2
for every major version release.</li>
<li>On releasing minor and patch versions, update the tag of the
corresponding major version. <br />
Example, for releasing v1.0.1, update the v1 tag to point to the ref of
the current release. <br />
The following commands are to be run on the release\v1 branch so that it
picks the latest commit and updates the v1 tag accordingly :
(Ensure that you are on same commit locally as you want to release)</li>
</ol>
<ul>
<li><code>git tag -fa v1 -m &quot;Update v1 tag&quot;</code></li>
<li><code>git push origin v1 --force</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Azure/cli/commit/965c8d7571d2231a54e321ddd07f7b10317f34d9"><code>965c8d7</code></a>
Release v2</li>
<li><a
href="https://github.com/Azure/cli/commit/4343bca283b169928e26678f7a927e27bca5aac7"><code>4343bca</code></a>
update readme for v2 (<a
href="https://redirect.github.com/azure/cli/issues/140">#140</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/0150783ef4754a992c22f1f9f02d4d52cc75d8de"><code>0150783</code></a>
Add changes</li>
<li><a
href="https://github.com/Azure/cli/commit/4b557fa51df52fe3c1419767b3f9f4e4b3f5fc75"><code>4b557fa</code></a>
Use <code>process.env</code> instead of <code>core.exportvariable</code>
to set env (<a
href="https://redirect.github.com/azure/cli/issues/138">#138</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/12aaf8e03cc10b314932344633f0ba9ce754506c"><code>12aaf8e</code></a>
remove env for integration test (<a
href="https://redirect.github.com/azure/cli/issues/137">#137</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/09e9174ac76e10306dbcaaba7851fccdf45f56f3"><code>09e9174</code></a>
Add changes</li>
<li><a
href="https://github.com/Azure/cli/commit/bf9d5ac2270a9a34d0c099aec83837844885be1a"><code>bf9d5ac</code></a>
Bump dependencies to the latest versions (<a
href="https://redirect.github.com/azure/cli/issues/135">#135</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/f3881a60511db355db9ba9ed5848426c82b6acd1"><code>f3881a6</code></a>
{Automation} Add CI tests (<a
href="https://redirect.github.com/azure/cli/issues/136">#136</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/3994327f5fcaad20218f886037436690a1a77f02"><code>3994327</code></a>
Update action node version from v16 to v20(<a
href="https://redirect.github.com/azure/cli/issues/126">#126</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/9849316e8dae4122162bc6bc83c98b6019e17cab"><code>9849316</code></a>
add permission block (<a
href="https://redirect.github.com/azure/cli/issues/130">#130</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/azure/cli/compare/v1...v2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=azure/CLI&package-manager=github_actions&previous-version=1&new-version=2)](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 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 21, 2024
1 parent 6861216 commit 7b7b10d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/copilot-deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "backend-host=$WEB_APP_NAME" >> $GITHUB_OUTPUT
- name: Enable Run From Package
uses: azure/CLI@v1
uses: azure/CLI@v2
with:
azcliversion: 2.30.0
inlineScript: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-deploy-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
enable-AzPSSession: false

- name: deploy-infra
uses: azure/CLI@v1
uses: azure/CLI@v2
with:
azcliversion: 2.30.0
inlineScript: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-deploy-memorypipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
echo "AZURE_WEBAPP_NAME=$WEB_APP_NAME" >> $GITHUB_ENV
- name: Enable Run From Package
uses: azure/CLI@v1
uses: azure/CLI@v2
with:
azcliversion: 2.30.0
inlineScript: |
Expand Down

0 comments on commit 7b7b10d

Please sign in to comment.