Title: Missing expression syntax or escaping for `if: ! expr` is not detected · Issue #290 · github/vscode-github-actions · GitHub
Open Graph Title: Missing expression syntax or escaping for `if: ! expr` is not detected · Issue #290 · github/vscode-github-actions
X Title: Missing expression syntax or escaping for `if: ! expr` is not detected · Issue #290 · github/vscode-github-actions
Description: The following is not validated (from github docs): You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is reserved notation in YAML format. For example: if: ${{ ! start...
Open Graph Description: The following is not validated (from github docs): You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is reserved notation in Y...
X Description: The following is not validated (from github docs): You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is rese...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing expression syntax or escaping for `if: ! expr` is not detected","articleBody":"The following is not validated (from [github docs](https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution)):\r\n\r\n> You must always use the ${{ }} expression syntax or escape with '', \"\", or () when the expression starts with !, since ! is reserved notation in YAML format. For example:\r\n>\r\n> ```\r\n> if: ${{ ! startsWith(github.ref, 'refs/tags/') }}\r\n> ```\r\n>\r\n> For more information, see \"[Expressions](https://docs.github.com/en/actions/learn-github-actions/expressions).\"\r\n\r\nCurrently, this will not be detected as a bug:\r\n```\r\nif: ! startsWith(github.ref, 'refs/tags/')\r\n```\r\n\r\nThe runner will abort with:\r\n```\r\nThe workflow is not valid. .github/workflows/build.yml: (Line: 42, Col: 42, Idx: 420) - (Line: 42, Col: 43, Idx: 421): While parsing a tag, did not find expected tag URI.\r\n```\r\n\r\nIt should be linted as an error.","author":{"url":"https://github.com/gschwaer","@type":"Person","name":"gschwaer"},"datePublished":"2024-01-29T08:43:30Z","url":"https://github.com/github/vscode-github-actions/issues/290"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:20ad09f1-ae83-416b-8c1e-e4cd2dc47a22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB6E:4998:46941F:66F5EC:6AFD83A1 |
| html-safe-nonce | 12268f625cdb937360dd6cbeadb49e43590c3d79590159e912bb4f8ad5067dcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjZFOjQ5OTg6NDY5NDFGOjY2RjVFQzo2QUZEODNBMSIsInZpc2l0b3JfaWQiOiIyOTAxOTM1NDIzMTY2OTcyODMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 58f49bd65bbf9cad44a09f44917ddc030ebfd8e1519b9cb08a2260bec9704858 |
| hovercard-subject-tag | issue:2104954574 |
| 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/_view_fragments/issues/show/github/vscode-github-actions/290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a33a79101caa3f8a9a2a1af61e2b4b3d00b8f9b809c9c1d6a27910746ded122a/github/vscode-github-actions/issues/290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a33a79101caa3f8a9a2a1af61e2b4b3d00b8f9b809c9c1d6a27910746ded122a/github/vscode-github-actions/issues/290 |
| og:image:alt | The following is not validated (from github docs): You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is reserved notation in Y... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gschwaer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| 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