diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..ef70294 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +miniprogram_npm_changed: + - package.json diff --git a/.github/workflows/pr-label.yml b/.github/workflows/pr-label.yml index 1967a8b..356bbb9 100644 --- a/.github/workflows/pr-label.yml +++ b/.github/workflows/pr-label.yml @@ -4,8 +4,11 @@ on: jobs: triage: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v4 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + repo-token: "${{ secrets.GITHUB_TOKEN }}"