mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-05 18:20:38 -08:00
* Update pr-validation.yml
* v6
* fix missing filter
* Revert "fix missing filter"
This reverts commit 9f132d8819.
37 lines
976 B
YAML
37 lines
976 B
YAML
name: PR Validation
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
issues: write
|
|
jobs:
|
|
validate-pr:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
# Step 1: Validate PR paths
|
|
- name: Validate PR Paths
|
|
uses: TiddlyWiki/cerebrus@v6
|
|
with:
|
|
pr_number: ${{ github.event.pull_request.number }}
|
|
repo: ${{ github.repository }}
|
|
base_ref: ${{ github.event.pull_request.base.ref }}
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
mode: rules
|
|
continue-on-error: true
|
|
|
|
# Step 2: Validate change notes
|
|
- name: Validate Change Notes
|
|
uses: TiddlyWiki/cerebrus@v6
|
|
with:
|
|
pr_number: ${{ github.event.pull_request.number }}
|
|
repo: ${{ github.repository }}
|
|
base_ref: ${{ github.event.pull_request.base.ref }}
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
mode: changenotes
|
|
continue-on-error: false
|
|
|