diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..2d81307 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +Documentation: + - changed-files: + - any-glob-to-any-file: ['docs/*', '.readthedocs.yml', 'README.md', 'LICENSE', 'MANIFEST.in'] + +Internal: + - changed-files: + - any-glob-to-any-file: ['.*', 'codecov.yml', 'setup.cfg', 'setup.py', 'versioneer.py', '.github/*', '.circleci/*', 'phys2denoise/_version.py', 'requirements.txt', 'pyproject.toml'] + +Testing: + - changed-files: + - any-glob-to-any-file: ['phys2denoise/tests/*', '.circleci/*'] diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 0000000..8b102ae --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,17 @@ +name: Auto Author Assign + +on: + issues: + types: [ opened, reopened ] + pull_request_target: + types: [ opened, reopened ] + +permissions: + pull-requests: write + issues: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v2.1.0 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml new file mode 100644 index 0000000..a4c3f22 --- /dev/null +++ b/.github/workflows/auto-label.yml @@ -0,0 +1,15 @@ +name: auto-label +concurrency: + group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} + cancel-in-progress: true +on: # yamllint disable-line rule:truthy + pull_request_target + +jobs: + pr: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5