fix-9075: Remove empty line, add - in format jinja2 to remove empty l… #4127
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: "Dependabot Approve - Action" | |
on: | |
pull_request: | |
jobs: | |
approve: | |
runs-on: ubuntu-latest | |
if: github.actor == 'dependabot-preview[bot]' | |
steps: | |
- uses: actions/github-script@v3 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.pulls.createReview({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
pull_number: context.issue.number, | |
event: 'APPROVE' | |
}) |