diff --git a/.github/actions/auto-merge.yml b/.github/actions/auto-merge.yml new file mode 100644 index 000000000..d6c4fd19d --- /dev/null +++ b/.github/actions/auto-merge.yml @@ -0,0 +1,15 @@ +name: auto-merge + +on: + pull_request: + paths-ignore: + - "src/**" # prevent auto-merge for go dependencies + +jobs: + auto-merge: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ahmadnassri/action-dependabot-auto-merge@v2 # https://github.com/marketplace/actions/dependabot-auto-merge + with: + github-token: ${{ secrets.DEPENDABOT_TOKEN }} diff --git a/.github/auto-merge.yml b/.github/auto-merge.yml new file mode 100644 index 000000000..16c282ba1 --- /dev/null +++ b/.github/auto-merge.yml @@ -0,0 +1,4 @@ +# auto-merge config file (see https://github.com/marketplace/actions/dependabot-auto-merge#configuration-file-syntax) +- match: + dependency_type: all + update_type: "semver:minor" # includes patch updates! diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..70c70e6c3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,39 @@ +# See: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + reviewers: + - "corso-maintainers" + open-pull-requests-limit: 50 + + # Maintain dependencies for npm - website + - package-ecosystem: "npm" + directory: "website/" + schedule: + interval: "daily" + reviewers: + - "corso-maintainers" + open-pull-requests-limit: 50 + + # Maintain dependencies for npm - docs + - package-ecosystem: "npm" + directory: "docs/" + schedule: + interval: "daily" + reviewers: + - "corso-maintainers" + open-pull-requests-limit: 50 + + # Maintain dependencies for go - src + - package-ecosystem: "gomod" + directory: "src/" + schedule: + interval: "daily" + reviewers: + - "corso-maintainers" + open-pull-requests-limit: 50