chore: adjust permission

This commit is contained in:
d-kimsuon
2025-10-18 14:04:15 +09:00
parent 0cd26a5ed5
commit 361700c0c7
2 changed files with 10 additions and 11 deletions

View File

@@ -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
View File

@@ -46,3 +46,6 @@ dist/*
# playwright
.user-data/
# claude code
.claude/settings.local.json