Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# There is no expectation for actual Go code so we disable caching as
# it relies on the existence of a go.sum file.
cache: false
go-version: "1.20"
go-version: "1.23"
- name: Lookup Go cache directory
id: go-cache
run: |
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/security-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Security scan

on:
pull_request_target: {}
workflow_dispatch: {}
push:
branches: [main]

permissions:
pull-requests: write
contents: read
security-events: write

jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: open-turo/actions-security/static-analysis@v4
with:
semgrep-app-token: ${{ secrets.SEMGREP_APP_TOKEN }}
25 changes: 13 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,13 @@ repos:
hooks:
- id: pyupgrade

# Ansible hooks
- repo: https://github.com/ansible-community/ansible-lint
rev: v6.17.0
hooks:
- id: ansible-lint
# files: molecule/default/playbook.yml
# Ansible hooks (disabled - no Ansible files in this repo)
# - repo: https://github.com/ansible-community/ansible-lint
# rev: v6.17.0
# hooks:
# - id: ansible-lint
# files: ^(molecule/.*/.*\.yml|.*\.ya?ml)$
# exclude: ^(\.github/.*|\.pre-commit.*|\.bandit.*|\.mdl.*)$

# Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
Expand All @@ -149,9 +150,9 @@ repos:
hooks:
- id: docker-compose-check

# Packer hooks
- repo: https://github.com/cisagov/pre-commit-packer
rev: v0.0.2
hooks:
- id: packer_validate
- id: packer_fmt
# Packer hooks (disabled - requires external packer installation)
# - repo: https://github.com/cisagov/pre-commit-packer
# rev: v0.0.2
# hooks:
# - id: packer_validate
# - id: packer_fmt