Skip to content

Add permissions for issues in workflow config#286

Open
seilorjunior wants to merge 1 commit intoAzure-Samples:mainfrom
seilorjunior:patch-1
Open

Add permissions for issues in workflow config#286
seilorjunior wants to merge 1 commit intoAzure-Samples:mainfrom
seilorjunior:patch-1

Conversation

@seilorjunior
Copy link
Contributor

The pipeline is giving error.
Run actions/github-script@v7 RequestError [HttpError]: Resource not accessible by integration at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:9537:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { status: 403, response: { url: 'https://api.github.com/repos/Azure-Samples/AI-Gateway/issues/285/comments', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Wed, 18 Feb 2026 18:57:28 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '63C1:321231:6E8E3F1:1E0F67D0:69960B98', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14996', 'x-ratelimit-reset': '1771444646', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '4', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/Azure-Samples/AI-Gateway/issues/285/comments', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'actions/github-script octokit-core.js/5.0.1 Node.js/20.19.6 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## 📋 Labs Config Preview\n\nThe following labs will be updated in docs/labs-config.json when this PR is merged:\n\n- backend-pool-load-balancing\n- backend-pool-load-balancing-tf\n\nThe config will be updated on both main and gh-pages branches."}', request: { agent: [Agent], fetch: [Function: proxyFetch], hook: [Function: bound bound register] } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant