Skip to content

Commit

Permalink
fixup 99
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Sep 22, 2023
1 parent b78cf9d commit d8f82be
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ jobs:
# 22.04's podman has issues with piping and causes tar errors
runs-on: ubuntu-20.04
if: ${{ github.actor == 'dependabot[bot]' }}
env:
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Fetch PR commits
run: git fetch origin "${BASE_SHA}" "${HEAD_SHA}"

- name: Update node-modules for package.json changes
run: |
make tools/node-modules
Expand All @@ -38,6 +45,6 @@ jobs:
git commit --amend --no-edit
eval $(ssh-agent)
ssh-add - <<< '${{ secrets.SELF_DEPLOY_KEY }}'
git push --force '[email protected]:${{ github.repository }}' '${{ github.ref_name }}'
echo "git push --force '[email protected]:${{ github.repository }}' '${{ github.base_ref }}'"
ssh-add -D
ssh-agent -k

0 comments on commit d8f82be

Please sign in to comment.