Skip to content

Use string equality to detect s3.osuosl.org - #120

Merged
Sharpie merged 1 commit into
OpenVoxProject:mainfrom
Sharpie:swap-contains
Aug 4, 2026
Merged

Use string equality to detect s3.osuosl.org#120
Sharpie merged 1 commit into
OpenVoxProject:mainfrom
Sharpie:swap-contains

Conversation

@Sharpie

@Sharpie Sharpie commented Aug 4, 2026

Copy link
Copy Markdown
Member

Short description

The S3_ENDPOINT_URL is currently set in GitHub Actions workflows as a Secret, even though the URL value is not sensitive in any way. Unfortunately, this restricts which operations can be performed in an if: statement. Function calls are disallowed, so this commit swaps use of contains() for a string equality match.

Checklist

I have:

The `S3_ENDPOINT_URL` is currently set in GitHub Actions workflows as
a Secret, even though the URL value is not sensitive in any way.
Unfortunately, this restricts which operations can be performed in
an `if:` statement. Function calls are disallowed, so this commit
swaps use of `contains()` for a string equality match.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
@Sharpie
Sharpie merged commit e0afb19 into OpenVoxProject:main Aug 4, 2026
2 checks passed
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