diff --git a/.github/labeler.yml b/.github/labeler.yml index 7fc4c4554..5f3f5b82d 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,3 @@ 'pr-status: wait-for-review': -- '**/*' +- changed-files: + - any-glob-to-any-file: '**' diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml index f3ce05ecc..254cbada0 100644 --- a/.github/workflows/bumpversion.yml +++ b/.github/workflows/bumpversion.yml @@ -16,11 +16,6 @@ jobs: with: fetch-depth: 0 token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}' - - name: Generate Sponsors 💖 - uses: JamesIves/github-sponsors-readme-action@v1 - with: - token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }} - file: 'docs/README.md' - name: Create bump and changelog uses: commitizen-tools/commitizen-action@master with: diff --git a/.github/workflows/docspublish.yml b/.github/workflows/docspublish.yml index 9ffbbf816..6aa1a75e2 100644 --- a/.github/workflows/docspublish.yml +++ b/.github/workflows/docspublish.yml @@ -25,6 +25,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | python -m mkdocs build + - name: Generate Sponsors 💖 + uses: JamesIves/github-sponsors-readme-action@v1 + with: + token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }} + file: 'docs/README.md' - name: Push doc to Github Page uses: peaceiris/actions-gh-pages@v2 env: diff --git a/.github/workflows/label_pr.yml b/.github/workflows/label_pr.yml index ef5541965..6977c7819 100644 --- a/.github/workflows/label_pr.yml +++ b/.github/workflows/label_pr.yml @@ -10,4 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + sparse-checkout: | + .github/labeler.yaml + sparse-checkout-cone-mode: false - uses: actions/labeler@v5 + with: + configuration-path: .github/labeler.yaml