You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# On develop, webtrit_callkeep must stay a path dependency (see docs/release_versioning.md).
# This catches a release `git:` ref accidentally back-merged onto develop.
on:
pull_request:
branches:
- develop
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Uses Ruby's built-in YAML (psych) - always available on GitHub runners, no extra install.
- name: Ensure webtrit_callkeep is a path dependency
run: |
ruby -ryaml -e '
dep = (YAML.load_file("pubspec.yaml")["dependencies"] || {})["webtrit_callkeep"]
ok = dep.is_a?(Hash) && dep.key?("path") && !dep.key?("git")
unless ok
warn "::error::On develop, webtrit_callkeep must use a path dependency, not a git ref. A release pin was likely back-merged. See docs/release_versioning.md."