AmericanWhitewater / wh2o-vue

Interactive map and guide for whitewater rivers in North America
https://wh2o-vue.netlify.app/
9 stars 1 forks source link

ci: dependabot workflows #554

Open drewalth opened 11 months ago

drewalth commented 11 months ago

This pull request adds several new GitHub Actions workflows related to dependabot.

Dependabot will check for any available dependency updates. If a minor update is available for a package, and all the CI checks (lint, test, build) pass successfully, the dependabot PR will automatically be approved and merged.

All major version upgrades will require manual developer approval.

TODO

To enable the auto approve and merge functionality, a Personal Access Token with the repo and public_repo scopes must be added to this repos Actions Secrets. The workflow is currently setup to load an access token called WH2O_TOKEN . More on scopes and the auto merge workflow here.

drewalth commented 11 months ago

@ngottlieb I'm actually unsure about this PR... the auto approve + merge functionality is great when there are decent compile-time checks. Since most of the codebase is JS, potential errors may get swallowed and silenced. Maybe this would be better added after the vue3 + TS migration.