ci: set if commit or not

This commit is contained in:
Antoine Martin 2025-03-22 16:33:32 -04:00
parent 3c9ca40325
commit 67d0271ff6
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -5,6 +5,11 @@ on:
description: 'Tag or commit'
required: false
type: string
is_commit:
description: 'Is commit?'
required: false
type: boolean
schedule:
- cron: '@hourly'
@ -42,7 +47,11 @@ jobs:
run: |
git remote add upstream $upstream
while read tag; do
git fetch upstream tag $tag --no-tags
if test ${{ inputs.is_commit }} == "true" ]; then
git fetch upstream $tag --no-tags
else
git fetch upstream tag $tag --no-tags
fi
done < missing_tags
- name: Packaging workflow injection
run: |