diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..dbe09f51e3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,39 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: '/' + schedule: + interval: daily + open-pull-requests-limit: 20 + labels: + - 'bot: dependencies' + - 'platform: root' + + - package-ecosystem: npm + directory: '/client' + schedule: + interval: daily + open-pull-requests-limit: 20 + labels: + - 'bot: dependencies' + - 'platform: client' + + - package-ecosystem: npm + directory: '/api-server' + schedule: + interval: 'weekly' + day: 'sunday' + open-pull-requests-limit: 20 + labels: + - 'bot: dependencies' + - 'platform: api' + + - package-ecosystem: npm + directory: '/curriculum' + schedule: + interval: 'weekly' + day: 'sunday' + open-pull-requests-limit: 20 + labels: + - 'bot: dependencies' + - 'scope: learn' diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml new file mode 100644 index 0000000000..227cb86bb0 --- /dev/null +++ b/.github/workflows/housekeeping.yml @@ -0,0 +1,15 @@ +name: Housekeeping + +on: + pull_request + +jobs: + automerge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - name: 'Merge Minor SemVer Updates' + uses: ahmadnassri/action-dependabot-auto-merge@master + with: + target: minor + github-token: ${{ secrets.AUTO_MERGE_TOKEN }}