Skip to content

Validate required secrets have value#3073

Merged
tamirkamara merged 3 commits into
mainfrom
tamirkamara/validate-secrets-value
Jan 12, 2023
Merged

Validate required secrets have value#3073
tamirkamara merged 3 commits into
mainfrom
tamirkamara/validate-secrets-value

Conversation

@tamirkamara

@tamirkamara tamirkamara commented Jan 12, 2023

Copy link
Copy Markdown
Collaborator

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.

@guybartal guybartal left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown

Unit Test Results

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

Results for commit 7eac65d.

@tamirkamara

Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

/test-force-approve

@github-actions

Copy link
Copy Markdown

🤖 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