Skip to content

Commit 047fb51

Browse files
committed
ci: Set default permissions
1 parent 0dd0bbc commit 047fb51

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/claude-renovate-review.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const workflow = new Workflow("Claude Renovate Review", {
55
on: {
66
pullRequest: { types: ["opened", "edited"] },
77
},
8+
permissions: {},
89
concurrency: {
910
group: "${{ github.workflow }}-${{ github.ref }}",
1011
cancelInProgress: true,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# DO NOT EDIT THIS FILE
22
# This file is automatically generated by ghats (https://www.npmjs.com/package/ghats)
33
# Edit the workflow in .github/workflows/claude-renovate-review.ts instead, and run `ghats build` to update this file.
4-
{"name":"Claude Renovate Review","on":{"pull_request":{"types":["opened","edited"]}},"concurrency":{"group":"${{ github.workflow }}-${{ github.ref }}","cancel-in-progress":true},"jobs":{"claude-code-review":{"runs-on":"ubuntu-latest","permissions":{"contents":"read","pull-requests":"write"},"timeout-minutes":30,"if":"github.event.pull_request.user.login == 'renovate[bot]'","steps":[{"with":{"persist-credentials":"false"},"uses":"actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"},{"with":{"claude-code-oauth-token":"${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}","allowed-tools":"WebFetch(domain:github.com)\nWebFetch(domain:raw.githubusercontent.com)\nWebFetch(domain:www.npmjs.com)"},"uses":"koki-develop/claude-renovate-review@cda94ca660ec4eb22dc7808745e6e511b98b6ebc"}]}}}
4+
{"name":"Claude Renovate Review","on":{"pull_request":{"types":["opened","edited"]}},"permissions":{},"concurrency":{"group":"${{ github.workflow }}-${{ github.ref }}","cancel-in-progress":true},"jobs":{"claude-code-review":{"runs-on":"ubuntu-latest","permissions":{"contents":"read","pull-requests":"write"},"timeout-minutes":30,"if":"github.event.pull_request.user.login == 'renovate[bot]'","steps":[{"with":{"persist-credentials":"false"},"uses":"actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"},{"with":{"claude-code-oauth-token":"${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}","allowed-tools":"WebFetch(domain:github.com)\nWebFetch(domain:raw.githubusercontent.com)\nWebFetch(domain:www.npmjs.com)"},"uses":"koki-develop/claude-renovate-review@cda94ca660ec4eb22dc7808745e6e511b98b6ebc"}]}}}

0 commit comments

Comments
 (0)