From 1fd2e8d7e7d6d02d82726050135aab0f6de5f6d5 Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Tue, 6 Feb 2024 10:18:15 -0600 Subject: [PATCH] Update dependabot config --- .github/dependabot.yml | 6 +++--- .github/workflows/ci.yml | 8 +------- .github/workflows/dependabot-auto-merge.yml | 14 ++++++++++++++ .github/workflows/publish-docs.yml | 8 +++----- .github/workflows/sponsors.yml | 2 +- 5 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/dependabot-auto-merge.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cf039be..70cb2e7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,6 +3,6 @@ updates: - package-ecosystem: cargo directory: "/" schedule: - interval: daily - time: "11:00" - open-pull-requests-limit: 10 + interval: weekly + time: "19:00" + timezone: "America/Chicago" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc73775..802c7fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,6 @@ jobs: - macos-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true + - uses: actions/checkout@v3 - run: cargo test --workspace diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 0000000..eb3fbd1 --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,14 @@ +name: auto-merge + +on: + pull_request: + +jobs: + auto-merge: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ahmadnassri/action-dependabot-auto-merge@v2 + with: + target: patch + github-token: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 164967d..fd629a1 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -8,14 +8,12 @@ jobs: publish-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: docker://asciidoctor/docker-asciidoctor with: args: make docs - - uses: JamesIves/github-pages-deploy-action@releases/v3 + - uses: JamesIves/github-pages-deploy-action@v4 with: - ACCESS_TOKEN: ${{ secrets.GH_PAT }} - BRANCH: gh-pages - FOLDER: target/docs + folder: target/docs diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 4af98c8..2976595 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -7,7 +7,7 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: JamesIves/github-sponsors-readme-action@1.0.5 with: