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 357e36a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
# 22.04's podman has issues with piping and causes tar errors
runs-on: ubuntu-20.04
if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Update node-modules for package.json changes
run: |
Expand All @@ -35,9 +39,9 @@ jobs:
- name: Force push the change to trigger testing workflows
run: |
sleep 1 # make sure the timestamp changes
git commit --amend --no-edit
git commit --amend --no-edit node_modules
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.head_ref }}'"
ssh-add -D
ssh-agent -k

0 comments on commit 357e36a

Please sign in to comment.