mirror of
https://github.com/langgenius/dify.git
synced 2026-11-11 22:02:23 +08:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
729 B
YAML
29 lines
729 B
YAML
name: Semantic Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- reopened
|
|
- synchronize
|
|
merge_group:
|
|
branches: ['main']
|
|
types: [checks_requested]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Validate PR title
|
|
permissions:
|
|
pull-requests: read
|
|
runs-on: depot-ubuntu-24.04
|
|
steps:
|
|
- name: Complete merge group check
|
|
if: github.event_name == 'merge_group'
|
|
run: echo "Semantic PR title validation is handled on pull requests."
|
|
- name: Check title
|
|
if: github.event_name == 'pull_request'
|
|
uses: amannn/action-semantic-pull-request@2252a14e810aa9b85c2d560bd7070c802206ecf6 # v6.1.2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|