diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..c0d36a0b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,23 @@ +version: 2 +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 + labels: + - "\U0001F4E6 dependencies" +- package-ecosystem: npm + directory: "/docs" + schedule: + interval: weekly + open-pull-requests-limit: 10 + labels: + - "\U0001F4E6 dependencies" +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 + labels: + - "\U0001F4E6 dependencies" diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 00000000..515de167 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,14 @@ +name: Dependabot + +on: [pull_request] + +jobs: + auto_merge: + name: Auto-merge Dependabot PRs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ahmadnassri/action-dependabot-auto-merge@v2 + with: + target: minor + github-token: ${{ secrets.DEPENDABOT_GITHUB_API_TOKEN }} diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security-audit.yml similarity index 99% rename from .github/workflows/security_audit.yml rename to .github/workflows/security-audit.yml index 9ab06e92..9a813022 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security-audit.yml @@ -1,4 +1,3 @@ ---- name: Security audit on: pull_request: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 945ea176..114d3569 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,4 +1,3 @@ ---- name: Main workflow on: push: