Skip to content

chore(ci): bump mozilla-actions/sccache-action from 0.0.9 to 0.0.10 in the github-actions-all group across 1 directory #21

chore(ci): bump mozilla-actions/sccache-action from 0.0.9 to 0.0.10 in the github-actions-all group across 1 directory

chore(ci): bump mozilla-actions/sccache-action from 0.0.9 to 0.0.10 in the github-actions-all group across 1 directory #21

name: Dependabot auto-merge
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
contents: read
pull-requests: read
jobs:
dependabot:
name: Enable auto-merge for Dependabot PRs
if: github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft && github.event.pull_request.head.repo.full_name == github.repository
permissions:
checks: read
contents: write
pull-requests: write
statuses: read
runs-on: ubuntu-latest
steps:
- name: Log workflow source context
run: |
echo "workflow_ref=${GITHUB_WORKFLOW_REF}"
echo "base_sha=${BASE_SHA}"
echo "head_sha=${HEAD_SHA}"
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
- name: Checkout trusted base ref
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.base.sha }}
- name: Enable auto-merge
run: bash ./scripts/ci/enable-dependabot-automerge.sh
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}