From 7f503b1b90a03750513ed0bf6bc7e0585e77a5a3 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 5 Sep 2024 16:55:59 +0200 Subject: [PATCH 1/5] ci: Create release-please.yml --- .github/workflows/release-please.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..74bd69c --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,13 @@ +name: Run release-please + on: + push: + branches: + - develop +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: GoogleCloudPlatform/release-please-action@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + release-type: simple From 0f7f1f74f046455e783232baf117b5cd84738d0c Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 5 Sep 2024 16:58:01 +0200 Subject: [PATCH 2/5] ci: Create auto-assign-pr.yml --- .github/workflows/auto-assign-pr.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/auto-assign-pr.yml diff --git a/.github/workflows/auto-assign-pr.yml b/.github/workflows/auto-assign-pr.yml new file mode 100644 index 0000000..6bdbae3 --- /dev/null +++ b/.github/workflows/auto-assign-pr.yml @@ -0,0 +1,15 @@ +# .github/workflows/auto-author-assign.yml +name: 'Auto Author Assign' + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v2.1.1 From c6e8b3189c7ddf5b8ac6a585659ff6a16b6e6f67 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 5 Sep 2024 16:58:55 +0200 Subject: [PATCH 3/5] ci: Create label.yml --- .github/workflows/label.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/label.yml diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..baefb5a --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,28 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: 🏷️ Pull Request Labeler +on: +- pull_request_target + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + label: + name: Auto-Labelling Pull Request + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v5 + #if: github.event.pull_request.head.repo.full_name == github.repository + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" From f640526fe29526df443c722d36027d517eb782c3 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 5 Sep 2024 17:00:31 +0200 Subject: [PATCH 4/5] ci: Create labeler.yml --- .github/labeler.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..bd96236 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,10 @@ +# Add labels to any any pull request with changes to the specified paths + +# Pull requests that update GitHub Actions code. If you navigate to the folder, you will have a README of what it does +GitHub Actions: +- changed-files: + - any-glob-to-any-file: '.github/**/*' + +📚 Documentation: +- changed-files: + - any-glob-to-any-file: 'README.MD' From 0f34ebd06e53fba15318604610dbedb3ed3a7d9a Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 5 Sep 2024 17:01:03 +0200 Subject: [PATCH 5/5] ci: Update labeler.yml --- .github/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index bd96236..b76cbc7 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -7,4 +7,4 @@ GitHub Actions: 📚 Documentation: - changed-files: - - any-glob-to-any-file: 'README.MD' + - any-glob-to-any-file: 'README.md'