Title: Getting started not working · Issue #49 · github/command · GitHub
Open Graph Title: Getting started not working · Issue #49 · github/command
X Title: Getting started not working · Issue #49 · github/command
Description: Describe the Issue I'm trying this action in an empty repository and I'm not able to make it working. It says something about missing permissions but it's not specifying which one is missing. I put the attached workflow in main branch, t...
Open Graph Description: Describe the Issue I'm trying this action in an empty repository and I'm not able to make it working. It says something about missing permissions but it's not specifying which one is missing. I put...
X Description: Describe the Issue I'm trying this action in an empty repository and I'm not able to make it working. It says something about missing permissions but it's not specifying which one is mi...
Opengraph URL: https://github.com/github/command/issues/49
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting started not working","articleBody":"### Describe the Issue\n\nI'm trying this action in an empty repository and I'm not able to make it working. It says something about missing permissions but it's not specifying which one is missing.\r\n\r\nI put the attached workflow in main branch, then I opened a pull request and commented it with\r\n\r\n```\r\n.ping | LOG_LEVEL=debug,CPU_CORES=4\r\n```\n\n### Action Configuration\n\n```yaml\r\nname: \"command demo\"\r\n\r\n# the workflow to execute on is comments that are newly created\r\non:\r\n issue_comment:\r\n types: [ created ]\r\n\r\n# permissions needed for reacting to IssueOps commands on issues and PRs\r\npermissions:\r\n pull-requests: write\r\n issues: write\r\n checks: read\r\n\r\njobs:\r\n demo:\r\n runs-on: ubuntu-latest\r\n steps:\r\n # execute IssueOps command logic, hooray!\r\n # this will be used to \"gate\" all future steps below\r\n - uses: github/command@v1.2.2\r\n id: ping\r\n with:\r\n command: \".ping\"\r\n\r\n # run your custom logic for your project here - example seen below\r\n\r\n # conditionally run some logic here\r\n - name: ping command\r\n if: ${{ steps.ping.outputs.continue == 'true' }}\r\n run: echo 'Got comment in PR \\#${{ steps.ping.outputs.issue_number }} with params ${{ steps.ping.outputs.params }}'\r\n```\n\n### Relevant Actions Log Output\n\n```\r\nRun github/command@v1.2.2\r\n##[debug]checking if the context of 'issue_comment' is valid\r\n🧮 detected parameters in command: LOG_LEVEL=debug,CPU_CORES=4\r\n##[debug]raw allowlist value: false\r\n##[debug]no allowlist provided, all users are allowed\r\nError: GraphqlResponseError: Request failed due to following response errors:\r\n - Resource not accessible by integration\r\n at /home/runner/work/_actions/github/command/v1.2.2/node_modules/@octokit/graphql/dist-node/index.js:113:1\r\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\r\n at prechecks (/home/runner/work/_actions/github/command/v1.2.2/src/functions/prechecks.js:129:1)\r\n at run (/home/runner/work/_actions/github/command/v1.2.2/src/main.js:78:1)\r\nError: Request failed due to following response errors:\r\n - Resource not accessible by integration\r\n```\n\n### Extra Information\n\nIt would be very useful if the action uses some `core.debug` calls in its codebase to better track issues like this one. At the moment even with debug mode there is no output from the action itself.","author":{"url":"https://github.com/fabn","@type":"Person","name":"fabn"},"datePublished":"2024-11-07T11:48:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/49/command/issues/49"}
| 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:4c341841-83f7-fabc-1366-dd73b50942d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8124:B7306:25A8D:35D54:696A6087 |
| html-safe-nonce | 9eab1ed2168005ffa1ffb885891f0d691770d306b862cd7991312da4dcf6505f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTI0OkI3MzA2OjI1QThEOjM1RDU0OjY5NkE2MDg3IiwidmlzaXRvcl9pZCI6IjY4ODY0MjY4Nzc3MDY3ODg5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f22bb45e978ec27fb72f060ecc25ee45ae13f6759345fc68cd703d9a8987bf04 |
| hovercard-subject-tag | issue:2640788643 |
| 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/49/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56ad1f6caed2e9005332c5907cf94555992e0dcc83fffc1545bf71c688d8c83a/github/command/issues/49 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56ad1f6caed2e9005332c5907cf94555992e0dcc83fffc1545bf71c688d8c83a/github/command/issues/49 |
| og:image:alt | Describe the Issue I'm trying this action in an empty repository and I'm not able to make it working. It says something about missing permissions but it's not specifying which one is missing. I put... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fabn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| 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 | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width