Last active
December 30, 2024 19:19
-
-
Save managedkaos/0a9933e2b33029166e075a097b8102d2 to your computer and use it in GitHub Desktop.
This file contains 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
# gh api repos/{owner}/{repo}/releases | |
gh api repos/golangci/golangci-lint-action/releases | jq -r .[0].name | |
# returns latest release name, ie: v6.1.1 |
This file contains 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
for i in $(find . -type d -name workflows | grep .github); | |
do | |
for j in $(ls ${i}/*.yml); | |
do | |
echo $j; | |
grep "uses:" $j; | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment