Skip to content

fix: let a hard line break keep a nested list separate #11

fix: let a hard line break keep a nested list separate

fix: let a hard line break keep a nested list separate #11

Workflow file for this run

# Point new pull requests at the contributing guide.

Check warning on line 1 in .github/workflows/contributing.yml

View workflow run for this annotation

GitHub Actions / contributing

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
#
# `pull_request_target` runs with the base branch's permissions so the
# comment works for forks; the PR's code is never checked out here.
name: contributing
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
jobs:
comment:
if: ${{ !contains(fromJSON('["OWNER", "MEMBER"]'), github.event.pull_request.author_association) }}
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const guide = 'https://github.com/vale-cli/vale/blob/v3/.github/CONTRIBUTING.md#ai-assisted-contributions';
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: [
'Before this is reviewed, please read the',
`[AI-Assisted Contributions](${guide}) section of the contributing guide`,
'and make sure this change meets it: you can explain every line, the',
'description is your own and brief, it fixes a bug you hit or a feature',
'agreed in an issue, it does not touch undocumented options, and any',
'substantial tool use is noted.',
].join(' '),
});