Skip to content

chore(create-release.yml): add step to build and push Docker image to… #85

chore(create-release.yml): add step to build and push Docker image to…

chore(create-release.yml): add step to build and push Docker image to… #85

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@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: true
token: ${{ secrets.BOT_TOKEN }}