Title: Invalid syntax highlighting with or condition `||` · Issue #224 · github/vscode-github-actions · GitHub
Open Graph Title: Invalid syntax highlighting with or condition `||` · Issue #224 · github/vscode-github-actions
X Title: Invalid syntax highlighting with or condition `||` · Issue #224 · github/vscode-github-actions
Description: GitHub Actions extension for VS Code. Contribute to github/vscode-github-actions development by creating an account on GitHub.
Open Graph Description: GitHub Actions extension for VS Code. Contribute to github/vscode-github-actions development by creating an account on GitHub.
X Description: GitHub Actions extension for VS Code. Contribute to github/vscode-github-actions development by creating an account on GitHub.
Opengraph URL: https://github.com/github/vscode-github-actions
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid syntax highlighting with or condition `||`","articleBody":"**Describe the bug**\r\nSyntax is invalid formatted with `||` at the begging of the line\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nThis workflow casuses invalid hightlighting on the last line:\r\n```yaml\r\nname: \"CI / CD\"\r\n\r\non: workflow_call\r\n\r\njobs:\r\n prepare:\r\n name: \"Prepare\"\r\n runs-on: \"ubuntu-22.04\"\r\n outputs:\r\n perform-tests: \"${{ steps.should-perform-tests.outputs.perform-tests }}\"\r\n perform-lint: \"${{ steps.should-perform-lint.outputs.perform-lint }}\"\r\n\r\n steps:\r\n - name: \"Should perform tests\"\r\n id: \"should-perform-tests\"\r\n run: |\r\n echo \"perform-tests=1\" >> $GITHUB_OUTPUT\r\n\r\n - name: \"Should perform lint\"\r\n id: \"should-perform-lint\"\r\n run: |\r\n echo \"perform-lint=1\" >> $GITHUB_OUTPUT\r\n\r\n ci:\r\n name: \"CI\"\r\n runs-on: \"ubuntu-22.04\"\r\n needs: [\"prepare\"]\r\n if: >\r\n needs.prepare.outputs.perform-lint == 1\r\n || needs.prepare.outputs.perform-tests == 1\r\n```\r\n\r\n**Expected behavior**\r\nThe last line shouldn't be red and slanted.\r\n\r\n**Screenshots**\r\n\r\n\r\n**Extension Version**\r\n`v0.25.8`\r\n","author":{"url":"https://github.com/jacek-jablonski","@type":"Person","name":"jacek-jablonski"},"datePublished":"2023-06-23T12:49:26Z","url":"https://github.com/github/vscode-github-actions/issues/224"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:922d6195-f8e9-f70f-8a17-6b4ec29e1ef0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE24:245399:21D086:2F3A3C:6AFD81D5 |
| html-safe-nonce | 116d1ecf96ada6bc794fc386f04ce318276740e3c03e427ead0a77bfec5fa5c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTI0OjI0NTM5OToyMUQwODY6MkYzQTNDOjZBRkQ4MUQ1IiwidmlzaXRvcl9pZCI6IjMyNTExOTM1NjUxNTMxNjU3ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1f808435a6fb9c150ebeec23102ce9e315db00a5ae3b988b739db15ec886fa0d |
| hovercard-subject-tag | repository:616663763 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/vscode-github-actions/issues/224 |
| twitter:image | https://opengraph.githubassets.com/1407e7841ccbf7365e04e077df9d13aec2c8bd9e97035a182841613904504e0e/github/vscode-github-actions |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1407e7841ccbf7365e04e077df9d13aec2c8bd9e97035a182841613904504e0e/github/vscode-github-actions |
| og:image:alt | GitHub Actions extension for VS Code. Contribute to github/vscode-github-actions development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-cache |
| go-import | github.com/github/vscode-github-actions git https://github.com/github/vscode-github-actions.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 616663763 |
| octolytics-dimension-repository_nwo | github/vscode-github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616663763 |
| octolytics-dimension-repository_network_root_nwo | github/vscode-github-actions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width