|
@@ -151,3 +151,18 @@ jobs:
|
|
|
# we'd like to try and do the diffing before github_actions_clean & setup.
|
|
|
# This will run the tests exactly as you would in your own vm:
|
|
|
docker network create tfb > /dev/null 2>&1 && docker run --network=tfb -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=`pwd`,target=/FrameworkBenchmarks techempower/tfb --mode verify --test-dir $RUN_TESTS --results-environment Github-Actions;
|
|
|
+ dependabot:
|
|
|
+ needs: verify
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ if: ${{ github.actor == 'dependabot[bot]' }}
|
|
|
+ steps:
|
|
|
+ - name: Dependabot metadata
|
|
|
+ id: metadata
|
|
|
+ uses: dependabot/[email protected]
|
|
|
+ with:
|
|
|
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
+ - name: Enable auto-merge for Dependabot PRs
|
|
|
+ run: gh pr merge --auto --merge "$PR_URL"
|
|
|
+ env:
|
|
|
+ PR_URL: ${{github.event.pull_request.html_url}}
|
|
|
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|