Skip to content

Commit 0fbde63

Browse files
Merge branch 'main' into add-tbx-lint-pretty-print
2 parents 10e8c48 + 14be6eb commit 0fbde63

File tree

12 files changed

+240
-247
lines changed

12 files changed

+240
-247
lines changed

.github/workflows/checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: poetry run nox -s lint:code
6666

6767
- name: Upload Artifacts
68-
uses: actions/upload-artifact@v4.4.0
68+
uses: actions/upload-artifact@v4.5.0
6969
with:
7070
name: lint-python${{ matrix.python-version }}
7171
path: |
@@ -114,7 +114,7 @@ jobs:
114114
run: poetry run nox -s lint:security
115115

116116
- name: Upload Artifacts
117-
uses: actions/upload-artifact@v4.4.0
117+
uses: actions/upload-artifact@v4.5.0
118118
with:
119119
name: security-python${{ matrix.python-version }}
120120
path: .security.json
@@ -159,7 +159,7 @@ jobs:
159159
run: poetry run nox -s test:unit -- -- --coverage
160160

161161
- name: Upload Artifacts
162-
uses: actions/upload-artifact@v4.4.0
162+
uses: actions/upload-artifact@v4.5.0
163163
with:
164164
name: coverage-python${{ matrix.python-version }}-fast
165165
path: .coverage

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
- "gh-pages/*"
88
- "main"
99
- "master"
10-
pull_request:
11-
types: [opened, reopened]
1210
schedule:
1311
# “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru)
1412
- cron: "0 0 1/7 * *"

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Publish Documentation
22

3-
on:
3+
on:
44
workflow_call:
55
workflow_dispatch:
66

@@ -23,7 +23,7 @@ jobs:
2323
poetry run nox -s docs:multiversion
2424
2525
- name: Deploy
26-
uses: JamesIves/github-pages-deploy-action@v4.6.3
26+
uses: JamesIves/github-pages-deploy-action@v4.7.2
2727
with:
2828
branch: gh-pages
2929
folder: .html-documentation

.github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: poetry run nox -s project:report -- -- --format json | tee metrics.json
4545

4646
- name: Upload Artifacts
47-
uses: actions/upload-artifact@v4.4.0
47+
uses: actions/upload-artifact@v4.5.0
4848
with:
4949
name: metrics.json
5050
path: metrics.json

.github/workflows/slow-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: poetry run nox -s test:integration -- -- --coverage --db-version ${{ matrix.exasol-version }}
4040

4141
- name: Upload Artifacts
42-
uses: actions/upload-artifact@v4.4.0
42+
uses: actions/upload-artifact@v4.5.0
4343
with:
4444
name: coverage-python${{ matrix.python-version }}-slow
4545
path: .coverage

doc/changes/unreleased.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22

33
## ✨ Added
44

5-
* added tbx task for markdown formating of .lint.json
5+
* added tbx task for markdown formating of .lint.json
6+
7+
## 🐞 Fixed
8+
* Fixed an issue in the CI workflow that caused it to be executed twice on the initial push of a PR if the PR branch was on the repo itself.
9+
10+
🚨 Attention: Due to these changes, the workflows will no longer be executed if the PR comes from a branch not located in this repository.
11+
As third-party contributions from outside forks are rare to nearly non-existent, this downside was considered a reasonable trade-off at this time.
12+
13+
## 🔩 Internal
14+
* Relocked dependencies
15+
* Update referenced github actions

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: poetry run nox -s lint:code
7272

7373
- name: Upload Artifacts
74-
uses: actions/upload-artifact@v4.4.0
74+
uses: actions/upload-artifact@v4.5.0
7575
with:
7676
name: lint-python${{ matrix.python-version }}
7777
path: |
@@ -120,7 +120,7 @@ jobs:
120120
run: poetry run nox -s lint:security
121121

122122
- name: Upload Artifacts
123-
uses: actions/upload-artifact@v4.4.0
123+
uses: actions/upload-artifact@v4.5.0
124124
with:
125125
name: security-python${{ matrix.python-version }}
126126
path: .security.json
@@ -165,7 +165,7 @@ jobs:
165165
run: poetry run nox -s test:unit -- -- --coverage
166166

167167
- name: Upload Artifacts
168-
uses: actions/upload-artifact@v4.4.0
168+
uses: actions/upload-artifact@v4.5.0
169169
with:
170170
name: coverage-python${{ matrix.python-version }}-fast
171171
path: .coverage

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
- "gh-pages/*"
88
- "main"
99
- "master"
10-
pull_request:
11-
types: [opened, reopened]
1210
schedule:
1311
# “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru)
1412
- cron: "0 0 1/7 * *"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
poetry run nox -s docs:multiversion
2424
2525
- name: Deploy
26-
uses: JamesIves/github-pages-deploy-action@v4.6.0
26+
uses: JamesIves/github-pages-deploy-action@v4.7.2
2727
with:
2828
branch: gh-pages
2929
folder: .html-documentation

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: poetry run nox -s project:report -- -- --format json | tee metrics.json
4545

4646
- name: Upload Artifacts
47-
uses: actions/upload-artifact@v4.4.0
47+
uses: actions/upload-artifact@v4.5.0
4848
with:
4949
name: metrics.json
5050
path: metrics.json

0 commit comments

Comments
 (0)