mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-11 23:07:01 +08:00
Merge pull request #228 from hzb1115/dev
fix: github workflow permission
This commit is contained in:
12
.github/workflows/pr-checks-advisory.yml
vendored
12
.github/workflows/pr-checks-advisory.yml
vendored
@@ -8,12 +8,16 @@ on:
|
|||||||
# These checks are advisory only - they won't block PR merging
|
# These checks are advisory only - they won't block PR merging
|
||||||
# Results will be posted as comments to help contributors improve their PRs
|
# Results will be posted as comments to help contributors improve their PRs
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
checks: write
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pr-info:
|
pr-info:
|
||||||
name: PR Information
|
name: PR Information
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR title format
|
- name: Check PR title format
|
||||||
id: check-title
|
id: check-title
|
||||||
@@ -98,8 +102,6 @@ jobs:
|
|||||||
backend-checks:
|
backend-checks:
|
||||||
name: Backend Checks (Advisory)
|
name: Backend Checks (Advisory)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -208,8 +210,6 @@ jobs:
|
|||||||
frontend-checks:
|
frontend-checks:
|
||||||
name: Frontend Checks (Advisory)
|
name: Frontend Checks (Advisory)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user