mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
Add tests/lint/repository/test_name_emoji_and_length.py: every Ansible task name and GitHub Actions workflow/job/step name must start with an emoji (first char not 0-9/A-Za-z) and be <= 80 chars. - emit emoji names at the source: cli/build/include generator now writes "🔧 setup <app>" / "🚿 flush handlers after <app>" so generated tasks/groups/*-roles.yml satisfy the convention too - convert existing task/step/job/workflow names to emoji-prefixed, choosing a task-fitting icon per action (📦 install, ✅ ensure, 🔍 probe, 🥾 bootstrap, 🚀 deploy, 🧩 service-module load, ⬇️ checkout, 📂 include-routines, ...) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
893 B
YAML
20 lines
893 B
YAML
---
|
|
# nocheck: run-once
|
|
- name: ▶️ Run sys-util-git-pull helper (verbose)
|
|
script: >-
|
|
sys_util_git_pull.py
|
|
--repo-url "{{ sys_util_git_pull_repo_url }}"
|
|
--dest "{{ sys_util_git_pull_dest }}"
|
|
--branch "{{ sys_util_git_pull_version }}"
|
|
--depth "{{ sys_util_git_pull_depth }}"
|
|
--remote "{{ sys_util_git_pull_remote }}"
|
|
--verbose
|
|
{% if sys_util_git_pull_pin_tag | length > 0 %} --pin-tag "{{ sys_util_git_pull_pin_tag }}" {% endif %}
|
|
{% if sys_util_git_pull_mark_changed_on_tag_move | bool %} --mark-changed-on-tag-move {% endif %}
|
|
{% for t in sys_util_git_pull_remove_tags %} --remove-tag "{{ t }}" {% endfor %}
|
|
register: sys_util_git_pull_run
|
|
changed_when: >
|
|
(sys_util_git_pull_run.stdout | default('')) is search('CHANGED=true')
|
|
become: "{{ sys_util_git_pull_become }}"
|
|
become_user: "{{ sys_util_git_pull_become_user | default(omit) }}"
|