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

Validate required secrets have value #3073

Merged
merged 3 commits into from
Jan 12, 2023

Conversation

tamirkamara
Copy link
Collaborator

@tamirkamara tamirkamara commented Jan 12, 2023

What is being addressed

Some secrets must exist and have values, but something people forget to define them. In this case the errors might not be easy to understand.
An example issue: #2984

How is this addressed

  • Add a step in the reusable deployment workflow that checks that required secrets exist with non-empty values.

Copy link
Collaborator

@guybartal guybartal left a comment

Choose a reason for hiding this comment

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

required secret is missing in test: MS_TEAMS_WEBHOOK_URI

@tamirkamara tamirkamara reopened this Jan 12, 2023
@github-actions
Copy link

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 7eac65d.

@tamirkamara
Copy link
Collaborator Author

required secret is missing in test: MS_TEAMS_WEBHOOK_URI

It's not really missing since we sometimes remove the step that uses it (especially in the deployment repo)

@tamirkamara tamirkamara enabled auto-merge (squash) January 12, 2023 08:44
@tamirkamara
Copy link
Collaborator Author

/test-force-approve

@github-actions
Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 7eac65d)

(in response to this comment from @tamirkamara)

@tamirkamara tamirkamara merged commit ed28444 into main Jan 12, 2023
@tamirkamara tamirkamara deleted the tamirkamara/validate-secrets-value branch January 12, 2023 08:49
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

Successfully merging this pull request may close these issues.

2 participants