Skip to content

Enforce issue reference in pr body and logic for auto closing issues … #12

Enforce issue reference in pr body and logic for auto closing issues …

Enforce issue reference in pr body and logic for auto closing issues … #12

name: Approve dependabot
# Trigger the workflow on pull request
on: pull_request_target
jobs:
autoapprove:
name: Approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot'
steps:
- name: Auto approve
uses: cognitedata/[email protected]
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}