Skip to content
New issue

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

Fix condition in README #102

Merged
merged 1 commit into from Apr 7, 2022
Merged

Fix condition in README #102

merged 1 commit into from Apr 7, 2022

Conversation

mbg
Copy link
Contributor

@mbg mbg commented Apr 7, 2022

The README contains an example which is supposed to conditionally run peter-evans/create-issue-from-file if the lychee action returns a non-zero exit code. However, ${{ steps.lychee.outputs.exit_code }} != 0 actually evaluates to false even if exit_code is 0 (which is very surprising behaviour tbf). This PR fixes the example so that it behaves as expected.

@mre mre merged commit a0ada99 into lycheeverse:master Apr 7, 2022
@mre
Copy link
Member

mre commented Apr 7, 2022

Oh! I thought we fixed that at some point. Glad you found it and created a PR. Thanks a lot @mbg. 🥇

@mbg mbg deleted the fix/docs-issue-condition branch April 7, 2022 14:14
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.

None yet

2 participants