From 7832e17386c865f624b9c3e2d7a2b795bbbde07c Mon Sep 17 00:00:00 2001 From: Rachael Stickland <50215726+RayStick@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:11:07 +0100 Subject: [PATCH 1/2] add files --- .github/labeler.yml | 11 +++++++++++ .github/workflows/auto-author-assign.yml | 17 +++++++++++++++++ .github/workflows/auto-label.yml | 15 +++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/auto-author-assign.yml create mode 100644 .github/workflows/auto-label.yml 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 From b2150a78f2a6ac004039d2a33b0bfb592998fea4 Mon Sep 17 00:00:00 2001 From: Rachael Stickland <50215726+RayStick@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:07:12 +0100 Subject: [PATCH 2/2] This is an empty commit