Skip to content

build(deps): bump actions/setup-java from 3 to 4 #103

build(deps): bump actions/setup-java from 3 to 4

build(deps): bump actions/setup-java from 3 to 4 #103

name: Add to Dependabot PR
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
issues: write
repository-projects: write
jobs:
dependabot:
runs-on: ubuntu-latest
# Checking the actor will prevent your Action run failing on non-Dependabot PRs
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.BOT_TOKEN }}"
# The following properties are now available:
# - steps.metadata.outputs.dependency-names
# - steps.metadata.outputs.dependency-type
# - steps.metadata.outputs.update-type
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: true
token: ${{ secrets.BOT_TOKEN }}