๐Ÿ› Use full depth at the correct spot
All checks were successful
CI Pipeline / Check Templates (PR) (push) Has been skipped
pre-commit / build (push) Successful in 20s
CI Pipeline / Package and Sign Mod (push) Has been skipped
CI Pipeline / Check Templates (All) (push) Successful in 1m5s

Fixes #1
This commit is contained in:
Stanislas Daniel Claude Dolcini 2024-09-11 09:30:12 +03:00
parent c252e1c219
commit 97d04be759
Signed by: Stan
GPG Key ID: 244943DFF8370D60
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,6 @@ jobs:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
fetch-depth: 0
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
- run: apt-get update && apt-get install libxml2-utils -qqy - run: apt-get update && apt-get install libxml2-utils -qqy
- name: Fetch main branch - name: Fetch main branch
@ -51,6 +50,7 @@ jobs:
if: github.ref == 'refs/heads/signed' && github.event_name == 'push' if: github.ref == 'refs/heads/signed' && github.event_name == 'push'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
fetch-depth: 0
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
- run: pip3 install requests - run: pip3 install requests
- name: Install minisign - name: Install minisign

View File

@ -83,6 +83,8 @@ if not commit:
previous_tag = get_previous_tag_in_series(tag) previous_tag = get_previous_tag_in_series(tag)
changelog = get_changelog(commit, previous_tag) changelog = get_changelog(commit, previous_tag)
print (changelog)
headers = { headers = {
'Authorization': f'Bearer {oauth2_token}', 'Authorization': f'Bearer {oauth2_token}',
'Accept': 'application/json' 'Accept': 'application/json'