From 8f8117a5379bf665820feedef306d4886f20239a Mon Sep 17 00:00:00 2001 From: timvanoostrom Date: Mon, 6 May 2024 06:00:45 +0000 Subject: [PATCH 1/2] Maintenance run 2024-05-06 --- requirements.txt | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/requirements.txt b/requirements.txt index 28d40b3..b1dcb97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --output-file=requirements.txt requirements-root.txt @@ -14,15 +14,15 @@ azure-core==1.30.1 # msrest azure-core-tracing-opentelemetry==1.0.0b11 # via azure-monitor-opentelemetry -azure-monitor-opentelemetry==1.4.0 +azure-monitor-opentelemetry==1.4.1 # via -r requirements-root.txt -azure-monitor-opentelemetry-exporter==1.0.0b24 +azure-monitor-opentelemetry-exporter==1.0.0b25 # via azure-monitor-opentelemetry beautifulsoup4==4.12.3 # via -r requirements-root.txt -black==24.4.0 +black==24.4.2 # via -r requirements-root.txt -blinker==1.7.0 +blinker==1.8.1 # via flask certifi==2024.2.2 # via @@ -36,9 +36,9 @@ click==8.1.7 # via # black # flask -coverage==7.4.4 +coverage==7.5.1 # via -r requirements-root.txt -cryptography==42.0.5 +cryptography==42.0.6 # via # -r requirements-root.txt # jwcrypto @@ -58,14 +58,13 @@ idna==3.7 # via requests importlib-metadata==7.0.0 # via - # flask # opentelemetry-api # opentelemetry-instrumentation-flask isodate==0.6.1 # via msrest -itsdangerous==2.1.2 +itsdangerous==2.2.0 # via flask -jinja2==3.1.3 +jinja2==3.1.4 # via flask jwcrypto==1.5.6 # via -r requirements-root.txt @@ -167,7 +166,7 @@ packaging==24.0 # opentelemetry-instrumentation-flask pathspec==0.12.1 # via black -platformdirs==4.2.0 +platformdirs==4.2.1 # via black psutil==5.9.8 # via azure-monitor-opentelemetry-exporter @@ -207,7 +206,7 @@ typing-extensions==4.11.0 # opentelemetry-sdk urllib3==2.2.1 # via requests -werkzeug==3.0.2 +werkzeug==3.0.3 # via flask wrapt==1.16.0 # via From a78fe46ec25078eb9fc0f1a792c81c2167483765 Mon Sep 17 00:00:00 2001 From: Roan Paulus Date: Mon, 6 May 2024 15:44:31 +0200 Subject: [PATCH 2/2] pr-title-check toegevoegd en dependabot dependency update --- .github/workflows/pr-title-check.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr-title-check.yml diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml new file mode 100644 index 0000000..4e2f4c2 --- /dev/null +++ b/.github/workflows/pr-title-check.yml @@ -0,0 +1,26 @@ +# Taken from: https://levelup.gitconnected.com/enforcing-jira-ticket-formatting-in-github-pr-titles-and-commit-messages-78d9755568df +name: 'PR Title Check' +on: + pull_request: + types: [opened, edited, synchronize] +jobs: + check-title: + runs-on: ubuntu-latest + steps: + - name: Check PR title + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const payload = context.payload + const prTitle = payload.pull_request.title + + // Titel moet beginnen met mijn-xxxx of Bump! + const jiraPattern = /(mijn-\d+|bump!)/gi + if (!jiraPattern.test(prTitle)) { + console.log('The PR title does not match JIRA ticket format!') + // Fails the workflow + core.setFailed('PR title does not match JIRA ticket format!') + } else { + console.log('PR title format is correct.') + }