Skip to content

Github Actions Fix

Github Actions Fix #20

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 }}