Skip to content

New jira label workflow: Create jira-issue-label-added.yaml #134

New jira label workflow: Create jira-issue-label-added.yaml

New jira label workflow: Create jira-issue-label-added.yaml #134

Workflow file for this run

name: Auto Approve DependaBot PRs
on:
pull_request:
branches:
- main
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}