Title: Inverse Command · Issue #9 · github/command · GitHub
Open Graph Title: Inverse Command · Issue #9 · github/command
X Title: Inverse Command · Issue #9 · github/command
Description: 👋 fellow Hubber! Love this action and its versatility. One idea that came to mind that would be helpful would be to specify an opposite/inverse of a command that would force the continue output to be 'false'. Specifically I was thinking ...
Open Graph Description: 👋 fellow Hubber! Love this action and its versatility. One idea that came to mind that would be helpful would be to specify an opposite/inverse of a command that would force the continue output to ...
X Description: 👋 fellow Hubber! Love this action and its versatility. One idea that came to mind that would be helpful would be to specify an opposite/inverse of a command that would force the continue output to ...
Opengraph URL: https://github.com/github/command/issues/9
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inverse Command","articleBody":"👋 fellow Hubber! Love this action and its versatility.\n\nOne idea that came to mind that would be helpful would be to specify an opposite/inverse of a command that would force the `continue` output to be `'false'`. Specifically I was thinking about approval workflows that happen in issues instead of PRs. Currently, this would have to be implemented with two different `github/command` steps (one for `.approve` and one for `.deny`).\n\nAlternatively, it'd be helpful to combine them into one step:\n\n```yaml\n- name: Approve Command\n id: approve\n uses: github/command@vX.X.X\n with:\n allowed_contexts: issue\n command: .approve\n opposite: .deny\n```\n\nWhat do you think?\n\n_Edit:_ I just realized that I probably worded this poorly. I know that further steps that check the `continue` output would not run because commenting with `.deny` would not match the expected keyword. What would probably work better would be to have a separate output that is set when the opposite command is provided.","author":{"url":"https://github.com/ncalteen","@type":"Person","name":"ncalteen"},"datePublished":"2023-10-31T19:01:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9/command/issues/9"}
| 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:f29b48a9-6a4f-fa1f-0532-e9fa7dee0db8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9332:1C99EC:10CFD46:1788286:696A415E |
| html-safe-nonce | dcb7ed81b8062b1be10398d18af26341552b370229fceebf62c69b0f898bb4cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzMyOjFDOTlFQzoxMENGRDQ2OjE3ODgyODY6Njk2QTQxNUUiLCJ2aXNpdG9yX2lkIjoiNzMyNzc4ODc4NTE3NDQ2MjgxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 91e0f613b41d01813d820a5d946ae69235cf6f72a9cf816d9d859b74de000466 |
| hovercard-subject-tag | issue:1971127742 |
| github-keyboard-shortcuts | repository,issues,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/command/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1ebe1f7eade1b80d7726db88a4cbac5def22ec2b19682e1cf7855dd667b0607/github/command/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1ebe1f7eade1b80d7726db88a4cbac5def22ec2b19682e1cf7855dd667b0607/github/command/issues/9 |
| og:image:alt | 👋 fellow Hubber! Love this action and its versatility. One idea that came to mind that would be helpful would be to specify an opposite/inverse of a command that would force the continue output to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ncalteen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/command git https://github.com/github/command.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 663291669 |
| octolytics-dimension-repository_nwo | github/command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 663291669 |
| octolytics-dimension-repository_network_root_nwo | github/command |
| 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 | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width