Thomas Sjögren
46ffec6f0e
github_secrets: new module ( #11514 )
...
* add support for managing GitHub secrets
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* fix tab
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* update for sanity
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* more sanity fixes
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* update botmeta
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* formating
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* remove list function
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* remove docstring, format text strings and return codes
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* switch to deps
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* black and ruff doesnt get along
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* initial unit tests
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* update non-existing secret test
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* update description and details
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* handle when a secret cant be deleted
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* fail if not acceptable error codes
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* add test for non-acceptable status codes
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* remove local ruff config
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* allow empty strings
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* set required_
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* extend tests
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* cleanup
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* cover all, got a git urlopen error
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* cover all, got a git urlopen error
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* ensure value cant be None
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* check_mode
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* bump to 12.5.0
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* extend check_mode and related tests
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* split constants and return dict when checking secret
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* switch to HTTPStatus
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* replace DELETE and UPDATE with NO_CONTENT
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* update tests
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/github_secrets.py
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com >
Co-authored-by: Felix Fontein <felix@fontein.de >
2026-03-15 16:29:33 +01:00