Skip to content

Commit

Permalink
Chore: Update DevOps tooling from central repository [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ModeSevenIndustrialSolutions authored and github-actions[bot] committed Sep 6, 2024
1 parent 785558e commit 0721527
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: "🔐 CodeQL"

on:
push:
branches: [ "main", "gh-pages", "master" ]
pull_request:
branches: [ "main", "gh-pages", "master" ]
schedule:
- cron: '26 1 * * 2'
- cron: '39 20 * * 6'

jobs:
analyze:
Expand All @@ -44,10 +44,11 @@ jobs:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language':
# 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -58,13 +59,14 @@ jobs:
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
schedule:
- cron: "0 8 1 * *"

env:
DEFAULT-PYTHON: "3.11"

jobs:
update-dependencies:
name: "Update dependencies"
Expand All @@ -27,9 +30,11 @@ jobs:

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: ${{ env.default-python }}

- name: "Update Python dependencies"
uses: pdm-project/update-deps-action@v1
uses: pdm-project/update-deps-action@v1.9
with:
sign-off-commit: "true"
token: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ jobs:
pdm list --graph
- name: "Run: pip-audit"
uses: pypa/gh-action-pip-audit@v1.1.0
uses: pypa/gh-action-pip-audit@v1.0.8

0 comments on commit 0721527

Please sign in to comment.