Skip to content

Support tools view regeneration on a PR level for manual tools #2124

@derberg

Description

@derberg

Context

This page: https://www.asyncapi.com/tools
Gets regenerated once a week (or anytime by manual trigger) thanks to https://github.com/asyncapi/website/blob/master/.github/workflows/regenerate-tools.yml
Basically this script is called: https://github.com/asyncapi/website/blob/master/scripts/build-tools.js
More info about entire solution you can find in: https://github.com/asyncapi/community/blob/master/new-tool-documentation.md

Problem/Limitation

So people can add tools also manually to the website, through a PR: #2114
But problem is, that tools (as mentioned above) are not refreshed during website build, which means preview on PR level do not reflect PR changes.

  • So basically review is harder
  • After merge reviewer needs to remember to call rebuild workflow manually

No-go solution

Solution is not to rebuild tools, with the same script that we have now, on build level. We use logs of GH API there and do not want to run out of credits too soon

Metadata

Metadata

Labels

HacktoberfestLabel issues as available for participants of https://hacktoberfest.digitalocean.comarea/javascriptbountyAsyncAPI Bounty program related labelenhancement

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions