diff --git a/.github/workflows/pr-auto-assign.yaml b/.github/workflows/pr-auto-assign.yaml new file mode 100644 index 0000000000..a60b6b8d62 --- /dev/null +++ b/.github/workflows/pr-auto-assign.yaml @@ -0,0 +1,16 @@ +name: PR Auto Assign + +on: + pull_request_target: + types: [opened] + +permissions: {} + +jobs: + assign-author: + permissions: + pull-requests: write + runs-on: ubuntu-24.04 + steps: + - name: Assign author + uses: toshimaru/auto-author-assign@3e19bfc990cb1cf0589dce95e9f75289bb1e22de # v3.0.3 diff --git a/.github/workflows/pr-title-lint.yaml b/.github/workflows/pr-title-lint.yaml new file mode 100644 index 0000000000..66af36f279 --- /dev/null +++ b/.github/workflows/pr-title-lint.yaml @@ -0,0 +1,32 @@ +name: PR Title Lint + +on: + pull_request_target: + types: [opened, edited, reopened] + +permissions: + contents: read + +jobs: + title: + runs-on: ubuntu-24.04 + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + docs + style + refactor + perf + test + build + ci + chore + revert + security