From b9fd29abd121667b0824765d23351939427db9b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Dec 2021 11:58:54 +0100 Subject: [PATCH] chore(deps): bump fastify/github-action-merge-dependabot from 2.7.1 to 3.0.2 (#159) * chore(deps): bump fastify/github-action-merge-dependabot Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 2.7.1 to 3.0.2. - [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases) - [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v2.7.1...v3.0.2) --- updated-dependencies: - dependency-name: fastify/github-action-merge-dependabot dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: update merge action Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simone Busoli --- .github/workflows/ci.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 031e804..3c13086 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,26 +1,17 @@ ---- -name: CI +name: ci on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x] + node-version: [12, 14, 16] steps: - - name: Checkout - uses: actions/checkout@v2.4.0 - - name: Use Node.js - uses: actions/setup-node@v2.4.1 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: Restore cached dependencies - uses: actions/cache@v2.1.7 - with: - path: node_modules - key: node-modules-${{ hashFiles('package.json') }} - - name: Install dependencies - run: npm install + - run: npm install - name: Setup GCP access key shell: bash env: @@ -38,8 +29,10 @@ jobs: automerge: needs: build runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write steps: - - uses: fastify/github-action-merge-dependabot@v2.7.1 - if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} + - uses: fastify/github-action-merge-dependabot@v3 with: github-token: ${{secrets.github_token}}