Skip to content

🔥 Retire per-repo PLAN.md in favor of root PLAN. #183

🔥 Retire per-repo PLAN.md in favor of root PLAN.

🔥 Retire per-repo PLAN.md in favor of root PLAN. #183

Workflow file for this run

# PR Title Check — validates PR titles against noa message rules.
# Installed by: noa hook install-action
# Requires: noa binary available in PATH (downloaded from GitHub Releases)
#
# The NOA_VERSION env var controls which release to fetch.
# Defaults to "latest".
name: PR Title Check
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Install noa
id: install
run: |
set -euo pipefail
VERSION="${NOA_VERSION:-latest}"
if [ "$VERSION" = "latest" ]; then
URL="https://github.com/celestia-island/noa/releases/latest/download/noa-x86_64-unknown-linux-gnu"
else
URL="https://github.com/celestia-island/noa/releases/download/${VERSION}/noa-x86_64-unknown-linux-gnu"
fi
if curl -fsSL "$URL" -o /usr/local/bin/noa; then
chmod +x /usr/local/bin/noa
echo "installed=true" >> "$GITHUB_OUTPUT"
else
echo "noa release not found, skipping PR title check"
echo "installed=false" >> "$GITHUB_OUTPUT"
fi
- name: Check PR title
if: steps.install.outputs.installed == 'true'
run: noa hook validate-msg -m "${{ github.event.pull_request.title }}" -p celestia