Skip to content

backport: bitcoin#30049 (remove Android-related build support) #17386

backport: bitcoin#30049 (remove Android-related build support)

backport: bitcoin#30049 (remove Android-related build support) #17386

name: "Check PR title and description"

Check warning on line 1 in .github/workflows/semantic-pull-request.yml

View workflow run for this annotation

GitHub Actions / Check PR title and description

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
- synchronize
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (newline delimited).
# Default: https://github.com/commitizen/conventional-commit-types
# Our specific types/scopes (from https://github.com/dashpay/dash/blob/master/CONTRIBUTING.md#contributor-workflow)
types: |
feat
fix
docs
style
refactor
perf
test
build
guix
ci
lint
chore
revert
trivial
backport
# Configure which scopes are allowed (newline delimited).
scopes: |
consensus
interfaces
log
mining
net
qt
rest
rpc
scripts
stats
utils
wallet
zmq
# Checkout the base branch (pull_request_target default). Safe: no untrusted
# PR code is executed. The helper script and this workflow land together on
# merge, so enforcement starts after merge — same as the workflow YAML itself.
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
# Reject @username mentions in the PR description. Mentions are copied
# into merge commits and re-notify people on merge/rebase/backport.
# Body is passed via env (not shell interpolation) to avoid injection.
- name: Check PR description for @mentions
env:
PR_BODY: ${{ github.event.pull_request.body }}
run: python3 .github/workflows/check_pr_description_mentions.py