QualitativeDataRepository / AnnoREP-Frontend

Frontend for the AnnoREP tool to Restructure, Edit, and Publish annotations
https://anno-rep.org
MIT License
1 stars 1 forks source link

admin/upgrade-dependabot #150

Closed tohuynh closed 11 months ago

tohuynh commented 11 months ago

cc @cav1sa

Made the following additions to dependabot.yml

    # Make PR to `stage` branch
    target-branch: "stage"
    # Disable version updates for npm dependencies, but allow security updates
    # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit
    open-pull-requests-limit: 0
    # Uses `increase` for apps and `widen` for libraries
    # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy
    versioning-strategy: auto

Then in the repo's setting for configuring dependabot alerts, I added a rule with severity: critical and high, scope: runtime (to avoid development upgrades), ecosystem: npm. This in combination with the above file, hopefully means that there will be only security updates for production dependencies.