We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It will be nice to have CIRRUS_FORK environment variable which will be set to true for forks and false for the original repository.
CIRRUS_FORK
true
false
Right now as suggested by @ped7g in #418 CIRRUS_REPO_OWNER can be used as a workaround:
CIRRUS_REPO_OWNER
task: name: task requiring decrypted variable only_if: $CIRRUS_REPO_OWNER == 'my-organization'
The text was updated successfully, but these errors were encountered:
Workaround seems good enough to not add additional functionality for a rare case.
Sorry, something went wrong.
No branches or pull requests
It will be nice to have
CIRRUS_FORK
environment variable which will be set totrue
for forks andfalse
for the original repository.Workaround
Right now as suggested by @ped7g in #418
CIRRUS_REPO_OWNER
can be used as a workaround:The text was updated successfully, but these errors were encountered: