Last active
October 5, 2023 20:20
-
-
Save anthonydahanne/675a4623db2073c91a7e68ddf1dc5b4b to your computer and use it in GitHub Desktop.
Script to ad the hacktoberfest label to existing issues matching a label
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 search issues --owner paketo-buildpacks --label "note:ideal-for-contribution" --limit 1000 --json repository,number | jq -r '.[] | [.number,.repository.nameWithOwner] | @tsv' | while IFS=$'\t' read -r number repository; do | |
echo "gh label -R $repository create hacktoberfest --description \"Hacktoberfest eligible\" --color D93F0B --force" | |
gh label -R $repository create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force | |
echo "gh repo edit $repository --add-topic hacktoberfest" | |
gh repo edit $repository --add-topic hacktoberfest | |
echo "gh issue edit $number -R $repository --add-label \"hacktoberfest\"" | |
gh issue edit $number -R $repository --add-label "hacktoberfest" | |
done |
Using the label "note:good-first-issue", only 2 failures on procfile and apache-skywalking - since I don't have the write permission
gh search issues --owner paketo-buildpacks --label "note:good-first-issue" --limit 1000 --json repository,number | jq -r '.[] | [.number,.repository.nameWithOwner] | @tsv' | while IFS=$'\t' read -r number repository; do
echo "gh label -R $repository create hacktoberfest --description \"Hacktoberfest eligible\" --color D93F0B --force"
gh label -R $repository create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
echo "gh repo edit $repository --add-topic hacktoberfest"
gh repo edit paketo-buildpacks/executable-jar --add-topic hacktoberfest
echo "gh issue edit $number -R $repository --add-label \"hacktoberfest\""
gh issue edit $number -R $repository --add-label "hacktoberfest"
done
gh label -R paketo-buildpacks/executable-jar create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/executable-jar
gh repo edit paketo-buildpacks/executable-jar --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 234 -R paketo-buildpacks/executable-jar --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/executable-jar/issues/234
gh label -R paketo-buildpacks/apache-skywalking create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
HTTP 404: Not Found (https://api.github.com/repos/paketo-buildpacks/apache-skywalking/labels)
gh repo edit paketo-buildpacks/apache-skywalking --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 78 -R paketo-buildpacks/apache-skywalking --add-label "hacktoberfest"
failed to update https://github.com/paketo-buildpacks/apache-skywalking/issues/78: 'hacktoberfest' not found
failed to update 1 issue
gh label -R paketo-buildpacks/libjvm create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/libjvm
gh repo edit paketo-buildpacks/libjvm --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 307 -R paketo-buildpacks/libjvm --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/libjvm/issues/307
gh label -R paketo-buildpacks/native-image create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/native-image
gh repo edit paketo-buildpacks/native-image --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 273 -R paketo-buildpacks/native-image --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/native-image/issues/273
gh label -R paketo-buildpacks/bellsoft-liberica create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/bellsoft-liberica
gh repo edit paketo-buildpacks/bellsoft-liberica --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 424 -R paketo-buildpacks/bellsoft-liberica --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/bellsoft-liberica/issues/424
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1172 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1172
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1165 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1165
gh label -R paketo-buildpacks/gradle create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/gradle
gh repo edit paketo-buildpacks/gradle --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 244 -R paketo-buildpacks/gradle --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/gradle/issues/244
gh label -R paketo-buildpacks/azul-zulu create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/azul-zulu
gh repo edit paketo-buildpacks/azul-zulu --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 322 -R paketo-buildpacks/azul-zulu --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/azul-zulu/issues/322
gh label -R paketo-buildpacks/apache-tomee create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/apache-tomee
gh repo edit paketo-buildpacks/apache-tomee --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 161 -R paketo-buildpacks/apache-tomee --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/apache-tomee/issues/161
gh label -R paketo-buildpacks/executable-jar create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/executable-jar
gh repo edit paketo-buildpacks/executable-jar --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 206 -R paketo-buildpacks/executable-jar --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/executable-jar/issues/206
gh label -R paketo-buildpacks/libpak create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/libpak
gh repo edit paketo-buildpacks/libpak --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 227 -R paketo-buildpacks/libpak --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/libpak/issues/227
gh label -R paketo-buildpacks/procfile create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
HTTP 404: Not Found (https://api.github.com/repos/paketo-buildpacks/procfile/labels)
gh repo edit paketo-buildpacks/procfile --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 175 -R paketo-buildpacks/procfile --add-label "hacktoberfest"
failed to update https://github.com/paketo-buildpacks/procfile/issues/175: 'hacktoberfest' not found
failed to update 1 issue
gh label -R paketo-buildpacks/libjvm create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/libjvm
gh repo edit paketo-buildpacks/libjvm --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 274 -R paketo-buildpacks/libjvm --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/libjvm/issues/274
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1086 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1086
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1055 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1055
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1053 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1053
gh label -R paketo-buildpacks/spring-boot create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/spring-boot
gh repo edit paketo-buildpacks/spring-boot --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 334 -R paketo-buildpacks/spring-boot --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/spring-boot/issues/334
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 1036 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/1036
gh label -R paketo-buildpacks/spring-boot create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/spring-boot
gh repo edit paketo-buildpacks/spring-boot --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 332 -R paketo-buildpacks/spring-boot --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/spring-boot/issues/332
gh label -R paketo-buildpacks/native-image create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/native-image
gh repo edit paketo-buildpacks/native-image --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 229 -R paketo-buildpacks/native-image --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/native-image/issues/229
gh label -R paketo-buildpacks/pipeline-builder create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/pipeline-builder
gh repo edit paketo-buildpacks/pipeline-builder --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 996 -R paketo-buildpacks/pipeline-builder --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/pipeline-builder/issues/996
gh label -R paketo-buildpacks/adoptium create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/adoptium
gh repo edit paketo-buildpacks/adoptium --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 271 -R paketo-buildpacks/adoptium --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/adoptium/issues/271
gh label -R paketo-buildpacks/native-image create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/native-image
gh repo edit paketo-buildpacks/native-image --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 220 -R paketo-buildpacks/native-image --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/native-image/issues/220
gh label -R paketo-buildpacks/bellsoft-liberica create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/bellsoft-liberica
gh repo edit paketo-buildpacks/bellsoft-liberica --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 350 -R paketo-buildpacks/bellsoft-liberica --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/bellsoft-liberica/issues/350
gh label -R paketo-buildpacks/alibaba-dragonwell create hacktoberfest --description "Hacktoberfest eligible" --color D93F0B --force
✓ Label "hacktoberfest" created in paketo-buildpacks/alibaba-dragonwell
gh repo edit paketo-buildpacks/alibaba-dragonwell --add-topic hacktoberfest
✓ Edited repository paketo-buildpacks/executable-jar
gh issue edit 136 -R paketo-buildpacks/alibaba-dragonwell --add-label "hacktoberfest"
https://github.com/paketo-buildpacks/alibaba-dragonwell/issues/136
gh search issues --owner paketo-buildpacks --label "hacktoberfest" --limit 1000
Showing 35 of 35 issues
REPO ID TITLE LABELS UPDATED
paketo-buildpacks/executable-jar #234 Convert internal test suite type:task, note:good-first-issue, note:ideal-for-contribution, hac... about 3 minutes ago
paketo-buildpacks/executable-jar #232 Allow the buildpack to skip type:enhancement, note:ideal-for-contribution, hacktoberfest about 11 minutes ago
paketo-buildpacks/libpak #287 Port https://github.com/paketo-buildpacks/libpak/pull/273 to `relea... type:enhancement, note:ideal-for-contribution, v2, hacktoberfest about 11 minutes ago
paketo-buildpacks/native-image #288 Support append BP_NATIVE_IMAGE_BUILD_ARGUMENTS to the end of command type:enhancement, note:ideal-for-contribution, hacktoberfest about 11 minutes ago
paketo-buildpacks/libjvm #307 Document `BPL_JVM_CLASS_ADJUSTMENT` type:documentation, note:good-first-issue, note:ideal-for-contribu... about 3 minutes ago
paketo-buildpacks/native-image #273 Remove USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM type:enhancement, note:ideal-for-contribution, note:good-first-iss... about 3 minutes ago
paketo-buildpacks/libpak #262 License information missing from BOM type:bug, note:ideal-for-contribution, hacktoberfest about 11 minutes ago
paketo-buildpacks/bellsoft-liberica #424 The CI updater for Java 11 NIK is failing type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1172 Bump mheap/github-action-required-labels from 4 to 5. type:dependency-upgrade, note:good-first-issue, note:ideal-for-con... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1165 Stop using richgo type:task, semver:minor, note:good-first-issue, note:ideal-for-con... about 3 minutes ago
paketo-buildpacks/gradle #244 Discard Gradle Welcome message type:enhancement, note:ideal-for-contribution, note:good-first-iss... about 3 minutes ago
paketo-buildpacks/java-native-image #610 How to pass runtime arguments for java native image type:enhancement, note:ideal-for-contribution, hacktoberfest about 11 minutes ago
paketo-buildpacks/azul-zulu #322 Updater is picking the wrong binary type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 3 minutes ago
paketo-buildpacks/apache-tomee #161 Fix failing integration tests type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 3 minutes ago
paketo-buildpacks/executable-jar #206 Provide Way to Handle Multiple Jars with Main-Class Entries type:enhancement, note:good-first-issue, note:ideal-for-contributi... about 3 minutes ago
paketo-buildpacks/libpak #227 Add support for the static stack type:enhancement, note:good-first-issue, note:ideal-for-contributi... about 3 minutes ago
paketo-buildpacks/libjvm #274 Don't add debug config if it's already present type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1086 Bump peter-evans/create-pull-request from 4 to 5 type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1055 Add version filtering to the NPM action type:enhancement, note:good-first-issue, note:ideal-for-contributi... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1053 Upgrade `actions/setup-go` from 3 to 4. type:dependency-upgrade, semver:minor, note:good-first-issue, note... about 3 minutes ago
paketo-buildpacks/alibaba-dragonwell #164 Update project name type:bug, semver:major, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
paketo-buildpacks/spring-boot #334 Buildpack doesn't resolve correct ApplicationType type:bug, note:ideal-for-contribution, note:good-first-issue, hack... about 3 minutes ago
paketo-buildpacks/pipeline-builder #1036 Add support for merge queues type:enhancement, note:good-first-issue, note:ideal-for-contributi... about 3 minutes ago
paketo-buildpacks/spring-boot #332 Update Spring Generations job to use newer action versions type:task, note:ideal-for-contribution, note:good-first-issue, hac... about 3 minutes ago
paketo-buildpacks/native-image #229 detect.go does not parse values for .platform/env/BP_NATIVE_IMAGE c... type:bug, note:ideal-for-contribution, note:good-first-issue, hack... about 3 minutes ago
paketo-buildpacks/pipeline-builder #996 Bump version of Go from 1.17 to 1.18 type:bug, semver:patch, note:good-first-issue, note:ideal-for-cont... about 3 minutes ago
paketo-buildpacks/adoptium #271 Documentation: JRE 17 Support type:documentation, note:good-first-issue, note:ideal-for-contribu... about 3 minutes ago
paketo-buildpacks/pipeline-builder #966 Update Go Modules Runs Causes Rate Limit Issues type:bug, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
paketo-buildpacks/native-image #220 Do not use the full path in generated process types type:enhancement, note:ideal-for-contribution, note:good-first-iss... about 3 minutes ago
paketo-buildpacks/datadog #128 Allow toggling the Java Agent on/off at runtime type:enhancement, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
paketo-buildpacks/bellsoft-liberica #350 When using jlink, we can't use --add-modules ALL-MODULE-PATH type:bug, note:good-first-issue, note:ideal-for-contribution, hack... about 2 minutes ago
paketo-buildpacks/apache-tomee #107 Console logging type:task, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
paketo-buildpacks/alibaba-dragonwell #136 Pick Java 8 extended downloads type:bug, note:ideal-for-contribution, note:good-first-issue, hack... about 2 minutes ago
paketo-buildpacks/libjvm #136 Active Processor Count uses total CPUs type:enhancement, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
paketo-buildpacks/apache-tomcat #134 Support for multiple war files semver:minor, note:ideal-for-contribution, hacktoberfest about 10 minutes ago
Running for good first issue
now!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the label "note:ideal-for-contribution", only 2 failures on
procfile
andapache-skywalking
- since I don't have the write permission