mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 05:34:43 +02:00
feat(hermes-auto-improve): remplacer API urllib par gh CLI pour les PR
Plus besoin de GITHUB_TOKEN dans le vault ni dans le service systemd. gh auth login root une seule fois sur s01 suffit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4e0b683cbd
commit
cf2c8ecc81
2 changed files with 252 additions and 124 deletions
|
|
@ -1,4 +1,18 @@
|
|||
---
|
||||
- name: Add GitHub CLI repo
|
||||
ansible.builtin.yum_repository:
|
||||
name: gh-cli
|
||||
description: GitHub CLI
|
||||
baseurl: https://cli.github.com/packages/rpm
|
||||
gpgkey: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x23F3D4EA75716059
|
||||
gpgcheck: true
|
||||
enabled: true
|
||||
|
||||
- name: Install gh CLI
|
||||
ansible.builtin.dnf:
|
||||
name: gh
|
||||
state: present
|
||||
|
||||
- name: Create state directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ hermes_auto_improve_state_dir }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue