From 6f3b0bc2f0004bb3a85ef958eabeaca65b36b2d8 Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Sat, 18 Dec 2021 12:14:39 +0100 Subject: [PATCH] chore: upgrade github-action-merge-dependabot to v3 --- .github/workflows/ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b670c49..f8530e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,56 +1,56 @@ name: CI - -on: +'on': push: paths-ignore: - - 'docs/**' + - docs/** - '*.md' pull_request: paths-ignore: - - 'docs/**' + - docs/** - '*.md' - jobs: test: runs-on: ubuntu-latest - strategy: matrix: - node-version: [10, 12, 14, 16] - db: ["mysql:8.0"] - + node-version: + - 10 + - 12 + - 14 + - 16 + db: + - mysql:8.0 name: Node.js ${{ matrix.node }} - ${{ matrix.db }} - services: mysql: image: ${{ matrix.db }} env: - MYSQL_ALLOW_EMPTY_PASSWORD: yes + MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' MYSQL_DATABASE: mysql ports: - - 3306:3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 - + - '3306:3306' + options: >- + --health-cmd="mysqladmin ping" --health-interval=10s + --health-timeout=5s --health-retries=3 steps: - uses: actions/checkout@v2 - - name: Use Node.js uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: Install Dependencies run: | npm install --ignore-scripts - - name: Run Tests run: | npm test - automerge: needs: test runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write steps: - - uses: fastify/github-action-merge-dependabot@v2.7.1 + - uses: fastify/github-action-merge-dependabot@v3 with: github-token: ${{ secrets.GITHUB_TOKEN }}