Skip to content

Commit

Permalink
ci(workflows): [approve-pr] remove dependabot-metadata condition
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Aug 1, 2023
1 parent 0e955a6 commit d96d29d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/approve-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# - https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request
# - https://github.com/actions/checkout
# - https://github.com/dependabot/fetch-metadata
# - https://github.com/hmarr/debug-action

---
Expand All @@ -31,12 +30,6 @@ jobs:
- id: debug
name: Print environment variables and event payload
uses: hmarr/debug-action@v2.1.0
- id: dependabot-metadata
name: Fetch dependabot metadata
if: github.actor == 'dependabot[bot]'
uses: dependabot/fetch-metadata@v1.6.0
with:
skip-commit-verification: true
- id: checkout
name: Checkout ${{ github.head_ref }}
uses: actions/checkout@v3.5.3
Expand All @@ -52,5 +45,4 @@ jobs:
if: |
contains(steps.requested-reviewers.outputs.result, 'flexdevelopment')
&& (github.actor == 'dependabot[bot]' || github.actor == 'unicornware')
&& steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr review ${{ github.event.number }} --approve --body 'lgtm 👍🏾'

0 comments on commit d96d29d

Please sign in to comment.