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 <[email protected]>
  • Loading branch information
unicornware committed Apr 14, 2023
1 parent 0da4ccd commit 22d0c34
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 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,15 +30,9 @@ jobs:
- id: debug
name: Print environment variables and event payload
uses: hmarr/[email protected]
- id: dependabot-metadata
name: Fetch dependabot metadata
if: github.actor == 'dependabot[bot]'
uses: dependabot/[email protected]
with:
skip-commit-verification: true
- id: checkout
name: Checkout ${{ github.head_ref }}
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
persist-credentials: false
ref: ${{ github.head_ref }}
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 22d0c34

Please sign in to comment.