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

Print a warning if a GITHUB_* variable from this action already exists #77

Open
rlespinasse opened this issue Oct 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@rlespinasse
Copy link
Owner

rlespinasse commented Oct 1, 2021

Based on https://github.com/rlespinasse/github-slug-action#one-of-the-environment-variables-doesnt-work-as-intended
To avoid being discarded silently, we need to print a warning upon the already existing variables set by this action.

@rlespinasse rlespinasse added the enhancement New feature or request label Oct 1, 2021
@rlespinasse rlespinasse added the v4 label Jul 6, 2022
@rlespinasse rlespinasse removed the v4 label Oct 20, 2023
bigint added a commit to bigint/github-slug-action that referenced this issue Nov 7, 2024
Related to rlespinasse#77

Add a warning for existing GITHUB_* variables in the preflight.sh script.

* Check for existing GITHUB_* variables using the env command.
* Print a warning if any existing GITHUB_* variables are found.
* Update action.yml to capture and print warnings from preflight.sh.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/rlespinasse/github-slug-action/issues/77?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant