Skip to content

Commit

Permalink
Simplify checkout and push
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon authored and GitHub committed Feb 23, 2022
1 parent 5b6828e commit 1e0eb7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/dependabot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
if: ${{ needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head }}

- name: Read .nvmrc
id: nvm
Expand All @@ -50,4 +48,4 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "[dependabot skip] Update dist/ with build changes" || exit 0
git push ${{ github.event.pull_request.head }} origin:${{ github.event.pull_request.head }}
git push

0 comments on commit 1e0eb7b

Please sign in to comment.