dependabot ãçæãã pull request ã§å§æ»ãããã«ãªã£ã¦ãæ¥ã ã§ãã
å¢ç¯ãéãã build.gradle
ã ã¨ã以ä¸ã¿ãããªæãã§å¿
è¦ãªã©ã¤ãã©ãªãç¡å°½èµã«å¢ãã¦ãã¾ããã¨ããããããããã©ã¤ãã©ãªã¨ãã®ãµãã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³ãä¸è´ãã¹ããã®ããç¹ã«èããªãã«ãããã並ã¹ã¦ãã¾ãå ´åãããã
dependencies { implementation "com.example:hogehoge:1.0.0" implementation "com.example:hogehoge-aaa:1.0.0" implementation "com.example:hogehoge-bbb:1.0.0" implementation "com.example:hogehoge-ccc:1.0.0" }
ããã§ããã©ã¤ãã©ãªã®æ´æ°ã dependabot ãæ¤åºããã¨ããµãã©ã¤ãã©ãªããããã® PR ã¾ã§åå¥ã«ã¤ãããã¦ãã¾ãã(âããã®ä¾)
å ¨é¨ CI ã pass ãã¦ãããã°ãé çªã«ç²ã 㨠rebase ã㦠merge ããã°è¯ãããããã§ãéã«ãã¼ã¸ã§ã³ä¸ä¸è´ãªç¶æ ã® commit ãæ®ãã®ã¯æ£ç´æ°æã¡æªãã
PR ãã¤ããæç¹ã§ããæãã« dependabot ãå¿åº¦ãã¦ãããã°ããããå®éã«ããããæ©è½ã¯ãããæ¸ãã¦ããæç¹ã§ã¯æªå®è£ ã§ããã
ã¿ããªå°ã£ã¦ããªãã®ãã¨æã£ã¦èª¿ã¹ã¦ã¿ãã¨ãbuild.gradle
å
㧠dependabot ã解éã§ããæ¸ãæ¹ã«ããã°ããã£ã¦ããããã¨ãããã£ãã
ext { hogehogeVersion = "1.0.0" } dependencies { implementation "com.example:hogehoge:$hogehogeVersion" implementation "com.example:hogehoge-aaa:$hogehogeVersion" implementation "com.example:hogehoge-bbb:$hogehogeVersion" implementation "com.example:hogehoge-ccc:$hogehogeVersion" }
ãã¼ã¸ã§ã³ãå¤æ°ã«å ¥ãã¦ä¸å 管çããã¨è¯ããå ·ä½çã«ã¯ dependabot-core ã®ä¸ã§å®ç¾©ããã¦ããæ£è¦è¡¨ç¾ã«ããããããããã«ããã°è¯ãããã
ã¡ãªã¿ã«ãããããã¨ãããã«æ¾ã£ã¦ããã¨ããªãã¸ããªãããã® PR çæä¸éæ°ã«æµè§¦ãã¦ããã以ä¸çæãã¦ããããªãã¨ããæ²ããç¶æ ã«ãªããããã¿ããªã¯æ°ãã¤ãã¦æ¬²ããã