Skip to content

Desktop, Mobile, Cli: Resolves #16140: Add locked note handling to export and import #3556

Desktop, Mobile, Cli: Resolves #16140: Add locked note handling to export and import

Desktop, Mobile, Cli: Resolves #16140: Add locked note handling to export and import #3556

Workflow file for this run

name: Check pull request title

Check warning on line 1 in .github/workflows/check-pr-title.yml

View workflow run for this annotation

GitHub Actions / Check pull request title

Workflow execution policy warning (evaluate mode)

On November 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
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
jobs:
main:
# Skip the check entirely for these automation accounts.
if: github.event.pull_request.user.login != 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
steps:
# Sparse checkout so we only pull the script, not the full repo.
# `pull_request_target` checks out the base branch by default,
# which is what we want — we never execute PR-supplied code.
- uses: actions/checkout@v6
with:
sparse-checkout: .github/scripts
sparse-checkout-cone-mode: false
- name: Check title
uses: actions/github-script@v8
env:
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_NUMBER: ${{ github.event.pull_request.number }}
with:
script: |
const check = require('./.github/scripts/check_pr_title.js');
await check({ github, context, core });