all 5 comments

sorted by: hot top controversial new old
[–] 4 points 3 years ago (2 children)

Does that not go beyond GH actions free limits? That workflow runs 72 times a day

  • source
  • hideshow 4 child comments
  • [–] 1 point 3 years ago* (1 child)

    Assuming each action takes 1 minute, it will use (assuming 30 days in the month) 2160 minutes exceeding the 2000 free tier monthly limit.

    But apparently Gitea Actions are compatible so you could go with that.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago* (1 child)

    And that's just a single repository. Although for a single JSON scrape it shouldn't take a full minute

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 years ago

    According to the Actions log for that repository it generally takes about 11-16 seconds per scrape, nowhere near a full minute. Worst case, if it's 16 seconds every time, for a 31-day month that's 31 days * 72 actions/day * 16 sec/action = 595.2 minutes, well within the free tier limit.

    And if it does become a problem it can easily be scaled down to once per hour or something with a single git commit.

  • source
  • parent