Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: fix if statement in github workflow #1347

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

Merged
merged 2 commits into from
May 10, 2021

Conversation

parthea
Copy link
Contributor

@parthea parthea commented May 9, 2021

PR #1343 was supposed to fix #1342 but the issue still persists. See this github action from my fork.

The root cause turned out to be the multiline format of the if statement of main.yml. I expected the pipe | character to allow if statements to be used in a multiline format however the actual behaviour is different than I expected. This PR converts the check to a single line if statement.

Using the fix in this PR the workflow was correctly skipped in parthea/pull/1.

@parthea parthea requested a review from a team as a code owner May 9, 2021 10:09
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 9, 2021
@parthea parthea requested a review from tseaver May 9, 2021 10:09
@parthea parthea added the automerge Merge the pull request once unit tests and other checks pass. label May 10, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit bae2ce9 into master May 10, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the fix-workflow-if-statement branch May 10, 2021 16:54
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github action seems to be running on forks
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.