Skip to content

Commit

Permalink
Force actions to fetch entire repo for tag job
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmock committed Aug 21, 2024
1 parent 6e6b93c commit 4bfc97c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/scheduled_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
--field "content=$(base64 -i "${file}")" \
--field "sha=$(git rev-parse "${{ github.ref_name }}:${file}")"
done
sleep 5 # Purely to ensure that GH has processed the updates
fi
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -53,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
fetch-depth: 0
- run: |
tag=$(git describe --tags --abbrev=0) || release_needed="true"
for file in $(git diff ${tag}..HEAD --name-only); do
Expand Down
4 changes: 2 additions & 2 deletions index.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"key": "Key:3dmr",
"key": "Key:3dmr2",
"url": "https://3dmr.eu/model/$1",
"source": "osmwiki:P8",
"rank": "normal"
Expand Down Expand Up @@ -2975,4 +2975,4 @@
"source": "wikidata:P1630",
"rank": "normal"
}
]
]

0 comments on commit 4bfc97c

Please sign in to comment.