diff --git a/.github/workflows/open-ai-pr-description.yml b/.github/workflows/open-ai-pr-description.yml index 6cedf8e..f801b1d 100644 --- a/.github/workflows/open-ai-pr-description.yml +++ b/.github/workflows/open-ai-pr-description.yml @@ -14,7 +14,8 @@ permissions: jobs: openai-pr-description: runs-on: ubuntu-22.04 - if: ${{ github.actor != 'dependabot[bot]' || github.actor != 'dependabot' }} + # Run the job only if the actor is NOT Dependabot + if: ${{ !startsWith(github.actor, 'dependabot') } steps: - uses: platisd/openai-pr-description@master with: