Skip to content

build(deps): bump reqwest from 0.12.9 to 0.12.11 #633

build(deps): bump reqwest from 0.12.9 to 0.12.11

build(deps): bump reqwest from 0.12.9 to 0.12.11 #633

Workflow file for this run

name: Build and test project
on:
push:
branches: [ "main" ]
paths:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
dependabot:
name: 'Dependabot'
needs: [build]
runs-on: ubuntu-latest
permissions: write-all
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot
steps:
- name: Auto-merge Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}