Skip to content

chore: release 2026.4.17 #92

chore: release 2026.4.17

chore: release 2026.4.17 #92

name: vendored-file-warning
on:
pull_request_target:
paths:
- "crates/aqua-registry/aqua-registry/pkgs/**"
permissions: {}
jobs:
warn:
if: github.actor != 'jdx' && github.actor != 'mise-en-dev'
runs-on: ubuntu-latest
steps:
- name: Comment on PR
env:
GH_TOKEN: ${{ secrets.MISE_PR_COMMENT_TOKEN }}
run: |
existing=$(gh pr view "${{ github.event.pull_request.number }}" \
-R "${{ github.repository }}" \
--json comments --jq '.comments[].body' \
| grep -c "vendored from the upstream" || true)
if [ "$existing" = "0" ]; then
gh pr comment "${{ github.event.pull_request.number }}" \
-R "${{ github.repository }}" \
--body "The aqua registry YAML files under \`crates/aqua-registry/\` are vendored from the upstream [aqua-registry](https://github.com/aquaproj/aqua-registry) and should not be modified directly in this repo. Please submit the package definitions to the upstream aqua-registry instead, and they will be picked up here when we next update the vendored copy.
The \`registry/*.toml\` files are fine to add here, but the backend should reference the package after it's been accepted upstream."
fi