Skip to content

Commit

Permalink
force fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed May 8, 2024
1 parent 8e388ec commit 16d42c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/actions/rebase/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ runs:
steps:
- name: Rebase to main
run: |
git fetch --all --force
git rebase origin/main
shell: bash

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# with:
# fetch-depth: 0
- uses: ./.github/actions/rebase
- uses: ./.github/actions/setup-go
- uses: golangci/golangci-lint-action@v3
Expand All @@ -31,8 +31,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# with:
# fetch-depth: 0
- uses: ./.github/actions/rebase
- uses: ./.github/actions/setup-go
- uses: ./.github/actions/setup-libgit2
Expand Down

0 comments on commit 16d42c9

Please sign in to comment.