Skip to content

feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable#145

Open
paolomainardi wants to merge 3 commits intomasterfrom
feature/validate-variable
Open

feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable#145
paolomainardi wants to merge 3 commits intomasterfrom
feature/validate-variable

Conversation

@paolomainardi
Copy link
Member

No description provided.

@paolomainardi paolomainardi changed the title feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable DRAFT feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable Oct 31, 2023
@paolomainardi paolomainardi changed the title DRAFT feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable Oct 31, 2023
@paolomainardi paolomainardi changed the title feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable DRAFT: feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable Oct 31, 2023
@paolomainardi paolomainardi changed the title DRAFT: feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable feat: validate GITLAB_PROJECT_RW_AND_API_TOKEN variable Oct 31, 2023
exit 1
fi

if [[ ! -z "${GITLAB_PROJECT_RW_AND_API_TOKEN}" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

this check is not necessary because at line 15 we check for the opposite to bail out.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for catching, fixed

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