mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-29 19:24:21 +01:00
chore: adjust permission
This commit is contained in:
18
.github/workflows/pinact.yml
vendored
18
.github/workflows/pinact.yml
vendored
@@ -8,28 +8,24 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
pinact:
|
||||
name: pinact
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 3
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Git
|
||||
uses: ./.github/actions/setup-git
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
origin: ${{ github.head_ref }}
|
||||
|
||||
- name: Pin actions
|
||||
uses: suzuki-shunsuke/pinact-action@d735505f3decf76fca3fdbb4c952e5b3eba0ffdd # v0.1.2
|
||||
with:
|
||||
app_id: ${{ vars.BOT_APP_ID }}
|
||||
app_private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -46,3 +46,6 @@ dist/*
|
||||
|
||||
# playwright
|
||||
.user-data/
|
||||
|
||||
# claude code
|
||||
.claude/settings.local.json
|
||||
|
||||
Reference in New Issue
Block a user