Skip to content

Commit

Permalink
chore: properly switch on dependabot author
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 25, 2024
1 parent 7738d72 commit 8e6ee75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ash-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
igniter-upgrade:
name: mix igniter.upgrade
runs-on: ubuntu-latest
if: ${{inputs.igniter-upgrade}}
if: ${{inputs.igniter-upgrade}} && github.event.pull_request.user.login == 'dependabot[bot]'
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
Expand All @@ -194,7 +194,6 @@ jobs:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
if: github.event.pull_request.user.login == 'dependabot[bot]'
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -204,7 +203,6 @@ jobs:
task: igniter.upgrade --git-ci --yes
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
if: github.event.pull_request.user.login == 'dependabot[bot]'
with:
commit_message: "[dependabot skip] Apply Igniter Upgrades"
commit_user_name: dependabot[bot]
Expand Down

0 comments on commit 8e6ee75

Please sign in to comment.