Skip to content

Commit c88db83

Browse files
authored
Fix various small findings (#91)
* Fix edge case of empty ignore list * Update templates * Update change log
1 parent 8b07c12 commit c88db83

File tree

13 files changed

+33
-23
lines changed

13 files changed

+33
-23
lines changed

.github/actions/security-issues/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
- name: Install Python Toolbox / Security tool
2929
shell: bash
3030
run: |
31-
pip install exasol-toolbox==0.6.0
31+
pip install exasol-toolbox==0.6.1
3232
3333
- name: Create Security Issue Report
3434
shell: bash
@@ -62,4 +62,4 @@ runs:
6262
echo -e "## Created Security Issue\n" >> $GITHUB_STEP_SUMMARY
6363
cat created.txt >> $GITHUB_STEP_SUMMARY
6464
echo -e "## Filtered Security Issue\n" >> $GITHUB_STEP_SUMMARY
65-
tail -n +2 filtered.txt | grep . >> $GITHUB_STEP_SUMMARY
65+
tail -n +2 filtered.txt | grep . || true >> $GITHUB_STEP_SUMMARY

doc/changelog.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
Unreleased
77
==========
88

9+
.. _changelog-0.6.1:
10+
11+
0.6.1 - 2023-10-27
12+
==================
13+
14+
🐞 Fixed
15+
--------
16+
17+
* Fixed failing security-issues action in case of empty ignore list
18+
919
.. _changelog-0.6.0:
1020

1121
0.6.0 - 2023-10-27

doc/github_actions/security_issues.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Example Usage
2929
uses: actions/checkout@v4
3030
3131
- name: Report Security Issues
32-
uses: exasol/python-toolbox/.github/actions/security-issues@0.6.0/security-issues-action
32+
uses: exasol/python-toolbox/.github/actions/security-issues@0.6.1
3333
with:
3434
format: "maven"
3535
command: "cat maven-cve-report.json"

exasol/toolbox/templates/github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v3
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
2121

2222
- name: Build Artifacts
2323
run: poetry build

exasol/toolbox/templates/github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v3
1515

1616
- name: Setup Python & Poetry Environment
17-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
17+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
1818

1919
- name: Check Tag Version
2020
# make sure the pushed/created tag matched the project version

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
1919

2020
- name: Check Version(s)
2121
run: poetry run version-check exasol/toolbox/version.py
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Setup Python & Poetry Environment
33-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
33+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
3434

3535
- name: Build Documentation
3636
run: |
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@v3
5151

5252
- name: Setup Python & Poetry Environment
53-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
53+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656

@@ -71,7 +71,7 @@ jobs:
7171
uses: actions/checkout@v3
7272

7373
- name: Setup Python & Poetry Environment
74-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
74+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
7575
with:
7676
python-version: ${{ matrix.python-version }}
7777

@@ -93,7 +93,7 @@ jobs:
9393
uses: actions/checkout@v3
9494

9595
- name: Setup Python & Poetry Environment
96-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
96+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
9797
with:
9898
python-version: ${{ matrix.python-version }}
9999

exasol/toolbox/templates/github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ jobs:
99

1010
check-tag-version-job:
1111
name: Check Release Tag
12-
uses: exasol/python-toolbox/.github/workflows/check-release-tag.yml@0.5.0
12+
uses: exasol/python-toolbox/.github/workflows/check-release-tag.yml@0.6.1
1313

1414
ci-job:
1515
name: Checks
1616
needs: [ check-tag-version-job ]
17-
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.5.0
17+
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.6.1
1818

1919
cd-job:
2020
name: Continues Delivery
2121
needs: [ ci-job ]
22-
uses: exasol/python-toolbox/.github/workflows/build-and-publish.yml@0.5.0
22+
uses: exasol/python-toolbox/.github/workflows/build-and-publish.yml@0.6.1
2323
secrets:
2424
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2525

2626
metrics:
2727
needs: [ ci-job ]
28-
uses: exasol/python-toolbox/.github/workflows/report.yml@0.5.0
28+
uses: exasol/python-toolbox/.github/workflows/report.yml@0.6.1

exasol/toolbox/templates/github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717

1818
ci-job:
1919
name: Checks
20-
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.5.0
20+
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.6.1
2121

2222
metrics:
2323
needs: [ ci-job ]
24-
uses: exasol/python-toolbox/.github/workflows/report.yml@0.5.0
24+
uses: exasol/python-toolbox/.github/workflows/report.yml@0.6.1

exasol/toolbox/templates/github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v3
1313

1414
- name: Setup Python & Poetry Environment
15-
uses: exasol/python-toolbox/.github/actions/python-environment@0.5.0
15+
uses: exasol/python-toolbox/.github/actions/python-environment@0.6.1
1616

1717
- name: Build Documentation
1818
run: |

exasol/toolbox/templates/github/workflows/pr-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010

1111
ci-job:
1212
name: Checks
13-
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.5.0
13+
uses: exasol/python-toolbox/.github/workflows/checks.yml@0.6.1
1414

1515
publish-docs:
1616
name: Publish Documentation
17-
uses: exasol/python-toolbox/.github/workflows/gh-pages.yml@0.5.0
17+
uses: exasol/python-toolbox/.github/workflows/gh-pages.yml@0.6.1
1818

1919
metrics:
2020
needs: [ ci-job ]
21-
uses: exasol/python-toolbox/.github/workflows/report.yml@0.5.0
21+
uses: exasol/python-toolbox/.github/workflows/report.yml@0.6.1

0 commit comments

Comments
 (0)