Skip to content

Bump dependabot/fetch-metadata from 2.0.0 to 2.2.0 #155

Bump dependabot/fetch-metadata from 2.0.0 to 2.2.0

Bump dependabot/fetch-metadata from 2.0.0 to 2.2.0 #155

Workflow file for this run

name: worker-nodes CI
on:
push:
branches: [main]
tags-ignore:
- 'v*'
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }}
needs: build
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}}