refactor: Add permissions for top-issues workflow
This commit is contained in:
parent
16290a120b
commit
491f27358c
8
.github/workflows/top-issues.yaml
vendored
8
.github/workflows/top-issues.yaml
vendored
@ -3,15 +3,19 @@ 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'
|
||||||
steps:
|
steps:
|
||||||
- name: Run top issues action
|
- name: Run top issues action
|
||||||
uses: rickstaa/top-issues-action@7e8dda5d5ae3087670f9094b9724a9a091fc3ba1 # v1.3.101
|
uses: rickstaa/top-issues-action@7e8dda5d5ae3087670f9094b9724a9a091fc3ba1 # v1.3.101
|
||||||
env:
|
env:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user