Closed erunks closed 1 year ago
Name | Link |
---|---|
Latest commit | d83a0ae3ce2b6ae231e60779675fe415430c19d6 |
Latest deploy log | https://app.netlify.com/sites/lbgg/deploys/649c8ba50a4ac50008dc63b4 |
Deploy Preview | https://deploy-preview-571--lbgg.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
What
In order to keep the API in sync better with the changes being made on https://github.com/leaderboardsgg/leaderboard-backend, this PR adds 1/2 of the workflow actions that will automatically create a PR for us with all the API changes that were introduced from new code being pushed to
main
.Requirements
Needs the following things to run:
OPENAPI_URL
pnpm generate:api
command at the rightopenapi
spec file to readWORKFLOW_ACCESS_TOKEN
actions/github-script
to actually create our PR for uspermissions
specified in the workflow are only used for the othergit
actions, such as committing and pushing the actual changes to the branch we createChanges
update-api
workflow to auto create a PR with the latest API changes from the backend repogenerate-api
script, to accept a passed URL as an option to generate offLink to Issue
Closes https://github.com/leaderboardsgg/leaderboard-site/issues/559
Acceptance
Steps for testing