refactor: Add permissions for top-issues workflow

This commit is contained in:
Sheng Fan 2025-03-16 19:56:37 +08:00
parent 16290a120b
commit 491f27358c

View File

@ -3,9 +3,13 @@ on:
schedule: schedule:
- cron: '0 0/2 * * *' - cron: '0 0/2 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
ShowAndLabelTopIssues: ShowAndLabelTopIssues:
permissions:
issues: write
pull-requests: write
actions: read
contents: read
name: Display and label top issues name: Display and label top issues
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'mannaandpoem/OpenManus' if: github.repository == 'mannaandpoem/OpenManus'