Skip to content

Commit

Permalink
Merge branch 'main' into fix-commit-hash-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonBirchall authored Oct 29, 2024
2 parents e8f2f67 + b0a15a8 commit f23995e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 196 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/experimental-check-version-pinning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
check-version-pinning:
Expand All @@ -15,19 +16,8 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
- name: Check for unpinned Actions
uses: ministryofjustice/github-actions/check-version-pinning@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490
with:
python-version: "3.11"
cache: "pipenv"

- name: Install Pipenv
run: pip install pipenv

- name: Verify Pipfile.lock is in sync
run: pipenv verify
- name: Install dependencies
run: pipenv install

- name: Check for incorrectly pinned Actions
run: pipenv run python3 -m bin.check_version_pinning
workflow_directory: ".github/workflows"
scan_mode: "full"
63 changes: 0 additions & 63 deletions bin/check_version_pinning.py

This file was deleted.

118 changes: 0 additions & 118 deletions test/test_bin/test_check_version_pinning.py

This file was deleted.

0 comments on commit f23995e

Please sign in to comment.