Skip to content

build(deps): bump the rust group across 1 directory with 3 updates #18

build(deps): bump the rust group across 1 directory with 3 updates

build(deps): bump the rust group across 1 directory with 3 updates #18

Workflow file for this run

name: Build, check and auto-merge dependabot
on:
push:
pull_request:
# You can use permissions to modify the default permissions granted to the GITHUB_TOKEN.
permissions:
contents: write
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- run: nix build ./nix
- run: nix flake check ./nix
dependabot:
name: 'Dependabot'
needs: [checks]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}