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

Cannot add GitHub Actions Secret with GITHUB_ prefix #11

Open
bfrancom opened this issue Mar 23, 2024 · 0 comments
Open

Cannot add GitHub Actions Secret with GITHUB_ prefix #11

bfrancom opened this issue Mar 23, 2024 · 0 comments

Comments

@bfrancom
Copy link
Contributor

Describe the bug

GitHub Actions does not allow any secret or variable to begin with GITHUB_ as those are reserved variable prefixes.

Steps to reproduce the behavior

  1. Go to the 'repo->Actions'
  2. Click on 'New repository secret' button
  3. Try to add secret with GITHUB_ prefix
  4. See error

Expected behavior

This may have worked in the past, but is now deprecated and does not work

Screenshots

image

Additional context

See GitHub docs:
https://docs.github.com/en/actions/learn-github-actions/variables#naming-conventions-for-configuration-variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant