Skip to content

Checkout ref before doing beachball checks #7

Checkout ref before doing beachball checks

Checkout ref before doing beachball checks #7

name: Dependabot Beachball Change Files
on:
pull_request:
types: [opened, synchronize]
jobs:
dependabot-beachball:
runs-on: ubuntu-latest
if: github.event.sender.login == 'dependabot[bot]'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- name: Run dependabot beachball automation
run: node .github/scripts/dependabot-beachball.mjs