octomation / go-module

🧩 Template for a typical module written on Go.

Home Page:https://go-module.octolab.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci/cd: run dependabot on weekends

kamilsk opened this issue · comments

Motivation: dependabot runs only on weekdays. See the docs.

Related to

Solution

Based on dependabot/dependabot-core#2980 (comment).

Under the hood, it calls

POST https://github.com/tact-app/web/network/updates?update_config_id={id from the list}
content-type: application/x-www-form-urlencoded

authenticity_token={token}

Notes

The origin page isn't related to the id, e.g.,

  • /tact-app/web/network/updates/578612902
  • /tact-app/web/network/updates?update_config_id=14214319

But the id is static 14214319, so, it's possible to store them as secrets.