Fix workflows permission & website deploy trigger

This commit is contained in:
Cuong-Tran 2025-04-14 17:22:56 +07:00
parent c413d7f219
commit 70ca305e16
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
6 changed files with 16 additions and 1 deletions

View file

@ -19,6 +19,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
prepare-build:
runs-on: 'ubuntu-24.04'

View file

@ -10,6 +10,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
prepare-build:
runs-on: 'ubuntu-24.04'

View file

@ -4,6 +4,9 @@ on:
pull_request:
types: [closed]
permissions:
contents: write
jobs:
delete_merged_branch:
runs-on: 'ubuntu-24.04'

View file

@ -6,6 +6,9 @@ on:
issue_comment:
types: [created]
permissions:
contents: write
jobs:
moderate:
runs-on: 'ubuntu-24.04'

View file

@ -4,6 +4,9 @@ on:
pull_request:
types: [opened]
permissions:
contents: write
jobs:
label_pr:
runs-on: 'ubuntu-24.04'

View file

@ -15,7 +15,7 @@ jobs:
- name: Update website on release
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
with:
workflow: deploy
workflow: Deploy
repo: komikku-app/komikku-app.github.io
ref: "refs/heads/main"
token: "${{ secrets.BOT_PAT }}"