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 }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare-build:
|
prepare-build:
|
||||||
runs-on: 'ubuntu-24.04'
|
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 }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare-build:
|
prepare-build:
|
||||||
runs-on: 'ubuntu-24.04'
|
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:
|
pull_request:
|
||||||
types: [closed]
|
types: [closed]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
delete_merged_branch:
|
delete_merged_branch:
|
||||||
runs-on: 'ubuntu-24.04'
|
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:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
moderate:
|
moderate:
|
||||||
runs-on: 'ubuntu-24.04'
|
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:
|
pull_request:
|
||||||
types: [opened]
|
types: [opened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label_pr:
|
label_pr:
|
||||||
runs-on: 'ubuntu-24.04'
|
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
|
- name: Update website on release
|
||||||
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
|
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
|
||||||
with:
|
with:
|
||||||
workflow: deploy
|
workflow: Deploy
|
||||||
repo: komikku-app/komikku-app.github.io
|
repo: komikku-app/komikku-app.github.io
|
||||||
ref: "refs/heads/main"
|
ref: "refs/heads/main"
|
||||||
token: "${{ secrets.BOT_PAT }}"
|
token: "${{ secrets.BOT_PAT }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue