Skip to content

Commit

Permalink
set fetch-depth to 0 for CI as well
Browse files Browse the repository at this point in the history
needed for spotless to be able to run as part of build.
  • Loading branch information
dejabot committed Nov 23, 2023
1 parent 1fbdc6b commit d9eff9d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Deploy

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the master or main branches
push:
branches: [ master ]
branches: [ master, main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,7 +17,9 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit d9eff9d

Please sign in to comment.