Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Add deprecation notice to GitHub Action #55

Merged
merged 7 commits into from
Jul 29, 2024

Conversation

ChristineWanjau
Copy link
Contributor

image
Added warning that action is deprecated.

README.md Outdated
@@ -1,3 +1,7 @@
# Deprecation Notice

This Action is deprecated. Instead, you can set up ongoing configuration file import using [Azure CLI](https://learn.microsoft.com/en-us/azure/azure-app-configuration/push-kv-github-action) GitHub action, which offers full capabilities for file importing to your App Configuration store.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the wording a little bit.

This GitHub action has been deprecated. The Azure CLI for Azure App Configuration provides full capabilities for importing configuration files into Azure App Configuration. Follow these instructions to set it up in your GitHub actions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been updated

src/main.ts Outdated
@@ -14,6 +14,7 @@ async function main(): Promise<void> {
} catch (error) {
core.setFailed(getErrorMessage(error));
}
core.warning("THIS ACTION IS DEPRECATED. Use azure/cli@v2 to replace this action. Find it here: https://github.com/Azure/cli");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should move this to the beginning instead of at the end.

I think we should point users to our document instead of the CLI action.

THIS ACTION IS DEPRECATED. Follow this guide to import your configuration into Azure App Configuration using GitHub Actions: https://aka.ms/appconfig/githubactions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the placing of the warning, I don't really have a strong opinion on it, I saw github add their warnings at the end for example, node 16 warning appeared at the end.
image
I have updated the string.

@ChristineWanjau ChristineWanjau merged commit f315c18 into main Jul 29, 2024
2 checks passed
@ChristineWanjau ChristineWanjau deleted the cwanjau/addDeprecationNotice branch July 29, 2024 07:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants