diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9c39a86 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" # See documentation for possible values + directory: ".github/workflows" # Location of package manifests + schedule: + interval: "monthly" + groups: + actions: + patterns: + - "*" + diff --git a/.github/workflows/bandit-schedule.yml b/.github/workflows/bandit-schedule.yml index f991865..7462978 100644 --- a/.github/workflows/bandit-schedule.yml +++ b/.github/workflows/bandit-schedule.yml @@ -24,11 +24,11 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Get changed notebooks id: get-changed-notebooks - uses: tj-actions/changed-files@v44.5.5 + uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.2 with: separator: " " # nbconvert accepts space separated file list safe_output: false # binding to env below @@ -36,7 +36,7 @@ jobs: **/*.ipynb - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 with: python-version: ${{ vars.PYTHON_VERSION }} cache: 'pip' @@ -63,7 +63,7 @@ jobs: - name: Upload sarif artifact to security if: ${{ failure() }} - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@5618c9fc1e675841ca52c1c6b1304f5255a905a0 # codeql-bundle-v2.19.0 with: sarif_file: results.sarif diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 6e6e46c..a78ff74 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -29,16 +29,16 @@ jobs: contents: read steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 with: python-version: ${{ vars.PYTHON_VERSION }} - name: Get changed notebooks id: get-changed-notebooks - uses: tj-actions/changed-files@v44.5.5 + uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.2 with: separator: " " # nbconvert accepts space separated file list safe_output: false # binding to env below @@ -70,7 +70,7 @@ jobs: - name: Upload bandit artifact for PR review if: ${{ failure() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 with: name: ${{ env.BANDIT_ARTIFACT }} path: ${{ env.BANDIT_ARTIFACT }}