forked from cockpit-project/cockpit-podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |