{"repo":"jgarcesres/git2jamf","free":true,"listed":false,"github":"https://github.com/jgarcesres/git2jamf","clone":"git clone https://github.com/jgarcesres/git2jamf.git","description":"Github action to create, update and delete scripts in jamf :octocat:","language":"Python","stars":24,"topics":["jamf","jamf-github","actions","api","integration","workflow","jamfpro","jamfpro-scripts"],"license":"MIT","category":"workflow-automation","readme_excerpt":"git2jamf This action grabs the github repository (or any subdfolder of your choice) scans it for scripts and will create or update those scripts in jamf. It starts by comparing filename of the github script (without the extension) against the name of the script in jamf: If it doesn't exist, it will create it if it exists, it will compare the hash of the body of both scripts and update it in jamf if they differ. Github is always treated as the source. If enabled, it will add a prefix with the branch name to a script. After creating and updating scripts, if enabled, it can delete any leftover script that is not found in github, thus keeping Github as your one source. Future state handle extension attributes. slack notifications suggestions are welcome! Inputs jamf url Required the url of your jamf instance jamf auth type Optional Defaults to auth but can be set to oauth to use client id and client secret instead of a username and password. jamf username Required the username to auth against jamf. If auth type is set to oauth , this is the client id . This user should have permission to update and create scripts. jamf password Required password for the user. If auth type is set to oauth , this is the client secret script dir optional the directory where the scripts to upload will be, this could be a subdirectoy in your repository path/to/scripts . By default it will try to sync all .sh and .py files from the repo, so it's greatly recommended to provide this input , you can look ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jgarcesres","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jgarcesres/git2jamf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}