Skip to content

Commit 8a0a909

Browse files
committed
fix pipeline
1 parent cadfe4e commit 8a0a909

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.common.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
node-version: ${{ inputs.node_version }}
2222
package-manager-cache: false
2323

24-
- name: Pull latest changes
25-
run: git pull origin ${{ github.head_ref || github.ref_name }}
26-
2724
- name: Install
2825
run: npm install --ignore-scripts
2926

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ jobs:
281281
git config user.name "github-actions[bot]"
282282
git config user.email "github-actions[bot]@users.noreply.github.com"
283283
284+
- name: Pull latest changes
285+
run: git pull --ff-only origin main
286+
284287
- name: Setup Node
285288
uses: actions/setup-node@v6
286289
with:

0 commit comments

Comments
 (0)