fix-doi-issues #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |