Riccardo Balbo 2 dní pred
rodič
commit
091c4e3837
1 zmenil súbory, kde vykonal 2 pridanie a 3 odobranie
  1. 2 3
      .github/workflows/bounty.yml

+ 2 - 3
.github/workflows/bounty.yml

@@ -16,7 +16,7 @@ jobs:
       - name: Comment bounty info
       - name: Comment bounty info
         uses: actions/github-script@v7
         uses: actions/github-script@v7
         env:
         env:
-          FORUM_URL: "https://hub.jmonkeyengine.org/t/proposal-experimental-bounty-program-in-jme/49385"
+          FORUM_URL: "https://hub.jmonkeyengine.org/t/bounty-program-trial-starts-today/49394/"
           RESERVE_HOURS: "48"
           RESERVE_HOURS: "48"
           TIMER_SVG_BASE: "https://jme-bounty-reservation-indicator.rblb.workers.dev/timer.svg"
           TIMER_SVG_BASE: "https://jme-bounty-reservation-indicator.rblb.workers.dev/timer.svg"
         with:
         with:
@@ -80,8 +80,7 @@ jobs:
             const already = comments.data.some(c =>
             const already = comments.data.some(c =>
               c.user?.login === "github-actions[bot]" &&
               c.user?.login === "github-actions[bot]" &&
               typeof c.body === "string" &&
               typeof c.body === "string" &&
-              c.body.includes("**This issue has a bounty.**") &&
-              c.body.includes(`see: ${forumUrl}`)
+              c.body.includes("This issue has a bounty")
             );
             );
 
 
             if (already) return;
             if (already) return;