ci(github): update workflow permission

This commit is contained in:
Xiao Xufeng
2026-03-23 20:58:39 +08:00
parent 258d3fc830
commit edf8b0bfb9
6 changed files with 20 additions and 0 deletions
+3
View File
@@ -1,5 +1,8 @@
name: docker
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+4
View File
@@ -1,5 +1,9 @@
name: Sync issue comments to JIRA
permissions:
issues: write
pull-requests: write
# This workflow will be triggered when new issue comment is created (including PR comments)
on: issue_comment
+3
View File
@@ -1,5 +1,8 @@
name: Sync issues to Jira
permissions:
issues: write
# This workflow will be triggered when a new issue is opened
on: issues
+3
View File
@@ -1,5 +1,8 @@
name: Sync remain PRs to Jira
permissions:
pull-requests: write
# This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project
# Note that, PRs can also get synced when new PR comment is created
on:
+4
View File
@@ -1,4 +1,8 @@
name: Sync approved PRs to internal codebase
permissions:
contents: read
on:
pull_request_target:
types: [labeled]
+3
View File
@@ -1,5 +1,8 @@
name: Create zip file with recursive source clone for release
permissions:
contents: write
on:
push:
tags: