permissions
This commit is contained in:
8
.github/workflows/test-and-build.yml
vendored
8
.github/workflows/test-and-build.yml
vendored
@@ -16,6 +16,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
actions: write
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -103,6 +107,6 @@ jobs:
|
|||||||
prerelease: ${{ github.event.inputs.build_type == 'pre' }}
|
prerelease: ${{ github.event.inputs.build_type == 'pre' }}
|
||||||
make_latest: ${{ github.event.inputs.build_type != 'pre' }}
|
make_latest: ${{ github.event.inputs.build_type != 'pre' }}
|
||||||
env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
Reference in New Issue
Block a user