- Launch Automator
- Create New Document
- Create a new Quick Action (Select "Quick Action")
- Add the Action Workflow receives
current files or foldersinFinder - If desired, add custom image/icon (see comment below)
- Add a new
Run Shell Scriptaction to the workflow. - Configure the Workflow
ref: https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c
#!/bin/bash
get_latest_version(){
curl "https://api.github.com/repos/$1/releases" -s \
| jq -r ".[].tag_name" \
| sort -nr \
| head -n 1Python utility to delete GitHub Actions runs for a repository, based on parameters. The GitHub UI currently allows removal of individual workflow runs, but this becomes tedious with a bulk of previous runs. Credit: https://gist.github.com/magnetikonline/2242eb18bf8890e9fc72b3c3ef41bd93
- Create a Personal access token allowing the
workflowscope: - Execute the script against a target GitHub repository (with optional parameters).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## assumes "multiple repos" are all in the same parent directory, which is also the current working directory | |
| # set up git | |
| for dir in ./*/; do | |
| dir=${dir%*/} # remove the trailing "/" | |
| cd "$dir" | |
| echo "$dir" | |
| git fetch -p && git pull |
| mode | agent | |||||
|---|---|---|---|---|---|---|
| description | Create alt-text for images in markdown files | |||||
| tools |
|
Describe this figure so a reader who cannot see it understands both what it depicts and what it communicates. The description should be detailed enough that someone could reproduce or redraw the figure from the text alone.
OlderNewer