Skip to content

Commit 5fd48a5

Browse files
committed
Fix added slack_hook
1 parent 86de8ac commit 5fd48a5

4 files changed

Lines changed: 18 additions & 40 deletions

File tree

.github/workflows/checks.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -188,27 +188,6 @@ jobs:
188188
id: build-package
189189
run: poetry run -- nox -s package:check
190190

191-
lint-imports:
192-
name: Lint Imports
193-
runs-on: ubuntu-24.04
194-
permissions:
195-
contents: read
196-
steps:
197-
- name: Check out Repository
198-
id: check-out-repository
199-
uses: actions/checkout@v6
200-
201-
- name: Set up Python & Poetry Environment
202-
id: set-up-python-and-poetry-environment
203-
uses: exasol/python-toolbox/.github/actions/python-environment@v6
204-
with:
205-
python-version: "3.10"
206-
poetry-version: "2.3.0"
207-
208-
- name: Lint Imports
209-
id: lint-imports
210-
run: poetry run -- nox -s lint:import
211-
212191
run-unit-tests:
213192
name: Unit Tests (Python-${{ matrix.python-versions }})
214193
runs-on: "ubuntu-24.04"

.github/workflows/dependency-update.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,18 @@ jobs:
8383
run: |
8484
BASE_BRANCH=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)
8585
86-
pr_url=$(gh pr create \
87-
--base "$BASE_BRANCH" \
88-
--title "Update dependencies to fix vulnerabilities ($(date '+%Y-%m-%d'))" \
89-
--body "Automated dependency update for \`poetry.lock\`.)
90-
echo "pr_url=$pr_url" >> "$GITHUB_OUTPUT"
86+
PR_BODY="Automated dependency update for \`poetry.lock\`.
9187
This PR was created by the dependency update workflow after running:
9288
- \`poetry run -- nox -s dependency:audit\`
9389
- \`poetry update\`"
90+
91+
PR_URL=$(gh pr create \
92+
--base "$BASE_BRANCH" \
93+
--title "Update dependencies to fix vulnerabilities ($(date '+%Y-%m-%d'))" \
94+
--body "$PR_BODY")
95+
96+
echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"
97+
9498
- name: Report new Pull Request to Slack channel
9599
id: report-pr-slack
96100
if: ${{ steps.create-pr.outputs.pr_url }}

.github/workflows/merge-gate.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ jobs:
4848
permissions:
4949
contents: read
5050

51-
test-python-environment:
52-
name: Test python-environment Action
53-
needs:
54-
- approve-run-slow-tests
55-
uses: ./.github/workflows/test-python-environment.yml
56-
permissions:
57-
contents: read
58-
5951
# This job ensures inputs have been executed successfully.
6052
allow-merge:
6153
name: Allow Merge
@@ -66,7 +58,6 @@ jobs:
6658
needs:
6759
- run-fast-checks
6860
- run-slow-checks
69-
- test-python-environment
7061
# Each job requires a step, so we added this dummy step.
7162
steps:
7263
- name: Approve

exasol/toolbox/templates/github/workflows/dependency-update.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ jobs:
9090
run: |
9191
BASE_BRANCH=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)
9292
93-
pr_url=$(gh pr create \
94-
--base "$BASE_BRANCH" \
95-
--title "Update dependencies to fix vulnerabilities ($(date '+%Y-%m-%d'))" \
96-
--body "Automated dependency update for \`poetry.lock\`.)
97-
echo "pr_url=$pr_url" >> "$GITHUB_OUTPUT"
93+
PR_BODY="Automated dependency update for \`poetry.lock\`.
9894
This PR was created by the dependency update workflow after running:
9995
- \`poetry run -- nox -s dependency:audit\`
10096
- \`poetry update\`"
97+
98+
PR_URL=$(gh pr create \
99+
--base "$BASE_BRANCH" \
100+
--title "Update dependencies to fix vulnerabilities ($(date '+%Y-%m-%d'))" \
101+
--body "$PR_BODY")
102+
103+
echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"
104+
101105
- name: Report new Pull Request to Slack channel
102106
id: report-pr-slack
103107
if: ${{ steps.create-pr.outputs.pr_url }}

0 commit comments

Comments
 (0)