Skip to content

Commit

Permalink
Avoid pushing to a detached head
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Feb 23, 2022
1 parent 2e28d08 commit 6cfee78
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 @@ -17,7 +17,7 @@ jobs:
steps:
- name: Fetch dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.2.0
uses: dependabot/fetch-metadata@v1.2.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
build-dependabot-changes:
Expand All @@ -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.sha }}

- name: Read .nvmrc
id: nvm
Expand Down

0 comments on commit 6cfee78

Please sign in to comment.