Skip to content

Commit

Permalink
chore: Fix gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Nov 18, 2024
1 parent a0fe91c commit 648118a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
default: "latest"

jobs:
prerelease:
update-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Create and publish PR
run: |
VERSION=$(npm explore --no-workspaces @diplodoc/transform "node -pe 'require(\"./package.json\").version'" --shell sh)
git push -f origin :ci/update-deps/${{ inputs.package }}-$VERSION
git push -f origin :ci/update-deps/${{ inputs.package }}-$VERSION || true
git checkout -b ci/update-deps/${{ inputs.package }}-$VERSION
git add package.json package-lock.json
git commit -m "deps: Update @diplodoc/transform to $VERSION"
Expand Down

0 comments on commit 648118a

Please sign in to comment.