Fix workflows permission & website deploy trigger
This commit is contained in:
parent
c413d7f219
commit
70ca305e16
6 changed files with 16 additions and 1 deletions
3
.github/workflows/build_preview.yml
vendored
3
.github/workflows/build_preview.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
3
.github/workflows/build_release.yml
vendored
3
.github/workflows/build_release.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
3
.github/workflows/delete_merged_branch.yml
vendored
3
.github/workflows/delete_merged_branch.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
pull_request:
|
||||
types: [closed]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
delete_merged_branch:
|
||||
runs-on: 'ubuntu-24.04'
|
||||
|
|
|
|||
3
.github/workflows/issue_moderator.yml
vendored
3
.github/workflows/issue_moderator.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
moderate:
|
||||
runs-on: 'ubuntu-24.04'
|
||||
|
|
|
|||
3
.github/workflows/pr_label.yml
vendored
3
.github/workflows/pr_label.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
label_pr:
|
||||
runs-on: 'ubuntu-24.04'
|
||||
|
|
|
|||
2
.github/workflows/update_website.yml
vendored
2
.github/workflows/update_website.yml
vendored
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue