Skip to content

fix bash execution issues#2

Open
falkenhawk wants to merge 1 commit intosamsalisbury:masterfrom
ovos:patch-1
Open

fix bash execution issues#2
falkenhawk wants to merge 1 commit intosamsalisbury:masterfrom
ovos:patch-1

Conversation

@falkenhawk
Copy link
Copy Markdown

This fixes execution issues mentioned in #1 for both linux and macos runners
fixes #1

This fixes execution issues mentioned in samsalisbury#1 for both linux and macos runners
fixes samsalisbury#1
Comment thread orbs/github-status.yml
when: <<parameters.when>>
name: "GitHub Status: <<parameters.state>>"
command: |
set -euo pipefail
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

is it breaking something? Wasn't the plan to actually call set +u here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

set +u seems to be unnecessary, because it's never -u. Also neither are other flags, since it looks like cci runs bash with -eo pipefall flags by default.
nice explanation: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425

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.

/bin/bash: line 1: GITHUB_STATUS_CONTEXT: unbound variable

2 participants