diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..b76cbc7 --- /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' 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 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 }}" 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