Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
4d88c8b
Add a configuration block for pre-commit.ci
mcdonnnj May 28, 2025
3b58427
Use a version tag for cisagov/setup-env-github-action
mcdonnnj May 15, 2025
f891704
Add a configuration to automatically label pull requests
mcdonnnj Aug 28, 2025
b6c32f2
Bump library/python from 3.13.5-alpine3.22 to 3.13.7-alpine3.22
dependabot[bot] Sep 3, 2025
0aba281
Bump actions/labeler from 5 to 6
mcdonnnj Sep 8, 2025
35bac1f
Bump aquasecurity/trivy-action from 0.33.0 to 0.33.1
dependabot[bot] Sep 8, 2025
507fe98
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
428ab61
Bump actions/setup-go from 5 to 6
dependabot[bot] Sep 8, 2025
623a983
Adjust the labels dependabot uses
mcdonnnj Sep 8, 2025
50c0ad8
Add a dependabot configuration for Docker Compose
mcdonnnj Sep 11, 2025
03065cd
Adjust GNU getopt check logic in the `setup-env` script
mcdonnnj Sep 16, 2025
dd78561
Merge pull request #212 from cisagov/improvement/use_tag_not_branch
mcdonnnj Sep 17, 2025
c2a8218
Merge pull request #216 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
4f7398e
Merge pull request #217 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
4d30d44
Merge pull request #213 from cisagov/improvement/add_ci_config_to_pre…
mcdonnnj Sep 17, 2025
deb2480
Merge pull request #215 from cisagov/improvement/add_pr_auto_labelling
mcdonnnj Sep 17, 2025
ad43910
Merge pull request #218 from cisagov/improvement/adjust_dependabot_la…
mcdonnnj Sep 17, 2025
b45b24c
Merge pull request #221 from cisagov/improvement/adjust_gnu_getopt_ch…
mcdonnnj Sep 17, 2025
c7e1ce8
Bump actions/checkout from 4 to 5
dependabot[bot] Sep 17, 2025
a27070a
Merge pull request #214 from cisagov/dependabot/github_actions/action…
mcdonnnj Sep 17, 2025
d070095
Update pre-commit hook versions
mcdonnnj May 4, 2025
ee20b2a
Conform to new markdownlint rule
mcdonnnj Aug 29, 2025
5bde44c
Bump version from 0.0.1-rc.1 to 1.0.0
mcdonnnj Sep 17, 2025
37010e5
Merge pull request #220 from cisagov/maintenance/update_pre-commit_hooks
mcdonnnj Sep 17, 2025
cb19850
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Sep 18, 2025
ca3226e
Sync bandit versions used in pre-commit config
jsf9k Sep 18, 2025
d946283
Update GitHub actions to versions used upstream
jsf9k Sep 18, 2025
f2a3280
Add python configuration to labeler
jsf9k Sep 18, 2025
a197a7a
Add test code to labeler configuration
jsf9k Sep 18, 2025
0f35673
Correct version file location in labeler configuration
jsf9k Sep 18, 2025
d18e90b
Add additional repository labels
mcdonnnj Sep 19, 2025
e875abf
Add auto-label configuration for the `docker` label
mcdonnnj Sep 22, 2025
e447508
Merge pull request #222 from cisagov/improvement/expand_available_labels
jsf9k Sep 22, 2025
bf938b8
Use lowercase for the protocol in EXPOSE statement
jsf9k Sep 24, 2025
4181a26
Merge pull request #247 from cisagov/dependabot/github_actions/aquase…
jsf9k Sep 24, 2025
725caab
Merge pull request #248 from cisagov/improvement/add_docker-compose_d…
jsf9k Sep 24, 2025
7da4b0d
Merge pull request #244 from cisagov/dependabot/docker/library/python…
jsf9k Sep 24, 2025
bc0d88f
Add a section to trigger the "docker" label
jsf9k Sep 24, 2025
ce6e5eb
Allow the test composition and pytest config to trigger the test label
jsf9k Sep 24, 2025
0a33d37
Mirror the "docker" configuration in cisagov/skeleton-generic#222
jsf9k Sep 24, 2025
974d210
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Sep 24, 2025
ce7e572
Include comment from cisagov/skeleton-generic#222
jsf9k Sep 25, 2025
2186042
Merge pull request #249 from cisagov/lineage/skeleton
jsf9k Sep 25, 2025
65474e2
Enable all label configuration for actions/labeler
mcdonnnj Oct 3, 2025
2a7792e
Bump peter-evans/dockerhub-description from 4 to 5
dependabot[bot] Oct 6, 2025
32eeb0c
Merge pull request #223 from cisagov/improvement/uncomment_labeler_co…
jsf9k Oct 6, 2025
3303b22
Merge pull request #251 from cisagov/dependabot/github_actions/peter-…
jsf9k Oct 6, 2025
3cf19cd
Add JavaScript-related labels
mcdonnnj Oct 3, 2025
e38c7f0
Add JavaScript-related labels to the labeler configuration
mcdonnnj Oct 3, 2025
443c477
Merge pull request #224 from cisagov/improvement/add_javascript_labels
jsf9k Oct 6, 2025
68196a2
Merge remote-tracking branch 'skeleton/develop' into lineage/skeleton
jsf9k Oct 7, 2025
722507b
Merge pull request #252 from cisagov/lineage/skeleton
jsf9k Oct 7, 2025
607079d
Merge remote-tracking branch 'skeleton-docker/develop' into lineage/s…
jsf9k Oct 17, 2025
32632a6
Add new Dependabot ignore directive from upstream
jsf9k Oct 17, 2025
bd9a10b
Make links more descriptive
jsf9k Oct 17, 2025
4ef6859
Upgrade to Python 3.12.12
jsf9k Oct 17, 2025
6d1ca8e
Add gcc, libffi-dev, and musl-dev as system package dependencies
jsf9k Oct 20, 2025
fdaea8e
Make link text a bit more specific
jsf9k Oct 22, 2025
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
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ updates:
schedule:
interval: weekly

- directory: /
package-ecosystem: docker-compose
schedule:
interval: weekly

- directory: /
ignore:
# Managed by cisagov/skeleton-generic
- dependency-name: actions/cache
- dependency-name: actions/checkout
- dependency-name: actions/dependency-review-action
- dependency-name: actions/labeler
- dependency-name: actions/setup-go
- dependency-name: actions/setup-python
- dependency-name: cisagov/action-job-preamble
Expand All @@ -36,6 +42,12 @@ updates:
- dependency-name: docker/setup-buildx-action
- dependency-name: docker/setup-qemu-action
- dependency-name: peter-evans/dockerhub-description
labels:
# dependabot default we need to replicate
- dependencies
# This matches our label definition in .github/labels.yml as opposed to
# dependabot's default of `github_actions`.
- github-actions
package-ecosystem: github-actions
schedule:
interval: weekly
Expand Down
76 changes: 76 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
# Each entry in this file is a label that will be applied to pull requests
# if there is a match based on the matching rules for the entry. Please see
# the actions/labeler documentation for more information:
# https://github.com/actions/labeler#match-object
#
# Note: Verify that the label you want to use is defined in the
# crazy-max/ghaction-github-labeler configuration file located at
# .github/labels.yml.

ansible:
- changed-files:
- any-glob-to-any-file:
- "**/ansible/**"
dependencies:
- changed-files:
- any-glob-to-any-file:
# Add any dependency files used.
- .pre-commit-config.yaml
- requirements*.txt
docker:
- changed-files:
- any-glob-to-any-file:
- "**/compose*.yml"
- "**/docker-compose*.yml"
- "**/Dockerfile*"
documentation:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
github-actions:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
javascript:
- changed-files:
- any-glob-to-any-file:
- "**/*.js"
packer:
- changed-files:
- any-glob-to-any-file:
- "**/*.pkr.hcl"
python:
- changed-files:
- any-glob-to-any-file:
- "**/*.py"
terraform:
- changed-files:
- any-glob-to-any-file:
- "**/*.tf"
test:
- changed-files:
- any-glob-to-any-file:
# Add any test-related files or paths.
- .ansible-lint
- .bandit.yml
- .flake8
- .isort.cfg
- .mdl_config.yaml
- .yamllint
- compose.yml
- pytest.ini
- tests/**
typescript:
- changed-files:
- any-glob-to-any-file:
- "**/*.ts"
upstream update:
- head-branch:
# Any Lineage pull requests should use this branch.
- lineage/skeleton
version bump:
- changed-files:
- any-glob-to-any-file:
# Ensure this matches your version tracking file(s).
- src/version.txt
15 changes: 15 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Rather than breaking up descriptions into multiline strings we disable that
# specific rule in yamllint for this file.
# yamllint disable rule:line-length
- color: f15a53
description: Pull requests that update Ansible code
name: ansible
- color: eb6420
description: This issue or pull request is awaiting the outcome of another issue or pull request
name: blocked
Expand Down Expand Up @@ -44,6 +47,9 @@
- color: fef2c0
description: This issue or pull request is not applicable, incorrect, or obsolete
name: invalid
- color: f1d642
description: Pull requests that update JavaScript code
name: javascript
- color: ce099a
description: This pull request is ready to merge during the next Lineage Kraken release
name: kraken 🐙
Expand All @@ -53,6 +59,9 @@
- color: fcdb45
description: This pull request is awaiting an action or decision to move forward
name: on hold
- color: 02a8ef
description: Pull requests that update Packer code
name: packer
- color: 3772a4
description: Pull requests that update Python code
name: python
Expand All @@ -62,9 +71,15 @@
- color: d73a4a
description: This issue or pull request addresses a security issue
name: security
- color: 7b42bc
description: Pull requests that update Terraform code
name: terraform
- color: 00008b
description: This issue or pull request adds or otherwise modifies test code
name: test
- color: 2b6ebf
description: Pull requests that update TypeScript code
name: typescript
- color: 1d76db
description: This issue or pull request pulls in upstream updates
name: upstream update
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ jobs:
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- id: setup-env
uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v4
uses: cisagov/setup-env-github-action@v1
- uses: actions/checkout@v5
- id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ steps.setup-env.outputs.python-version }}
# We need the Go version and Go cache location for the actions/cache step,
# so the Go installation must happen before that.
- id: setup-go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
# There is no expectation for actual Go code so we disable caching as
# it relies on the existence of a go.sum file.
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
# monitoring configuration *does not* require you to modify
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- id: generate-metadata
name: Generate Docker image metadata
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
- name: Load Docker image
run: docker load < dist/image.tar.gz
- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected].0
uses: aquasecurity/[email protected].1
with:
image-ref: ${{ needs.repo-metadata.outputs.image-name }}:latest
test:
Expand Down Expand Up @@ -448,10 +448,10 @@ jobs:
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- id: setup-env
uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v4
uses: cisagov/setup-env-github-action@v1
- uses: actions/checkout@v5
- id: setup-python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ steps.setup-env.outputs.python-version }}
- name: Cache testing environments
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- id: checkout-repo
name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- id: dependency-review
name: Review dependency changes for vulnerabilities and license changes
uses: actions/dependency-review-action@v4
93 changes: 93 additions & 0 deletions .github/workflows/label-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
name: Label pull requests

on: # yamllint disable-line rule:truthy
pull_request:
types:
- edited
- opened
- synchronize

# Set a default shell for any run steps. The `-Eueo pipefail` sets errtrace,
# nounset, errexit, and pipefail. The `-x` will print all commands as they are
# run. Please see the GitHub Actions documentation for more information:
# https://docs.github.com/en/actions/using-jobs/setting-default-values-for-jobs
defaults:
run:
shell: bash -Eueo pipefail -x {0}

jobs:
diagnostics:
name: Run diagnostics
# This job does not need any permissions
permissions: {}
runs-on: ubuntu-latest
steps:
# Note that a duplicate of this step must be added at the top of
# each job.
- name: Apply standard cisagov job preamble
uses: cisagov/action-job-preamble@v1
with:
check_github_status: "true"
# This functionality is poorly implemented and has been
# causing problems due to the MITM implementation hogging or
# leaking memory. As a result we disable it by default. If
# you want to temporarily enable it, simply set
# monitor_permissions equal to "true".
#
# TODO: Re-enable this functionality when practical. See
# cisagov/skeleton-generic#207 for more details.
monitor_permissions: "false"
output_workflow_context: "true"
# Use a variable to specify the permissions monitoring
# configuration. By default this will yield the
# configuration stored in the cisagov organization-level
# variable, but if you want to use a different configuration
# then simply:
# 1. Create a repository-level variable with the name
# ACTIONS_PERMISSIONS_CONFIG.
# 2. Set this new variable's value to the configuration you
# want to use for this repository.
#
# Note in particular that changing the permissions
# monitoring configuration *does not* require you to modify
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
label:
needs:
- diagnostics
permissions:
# Permissions required by actions/labeler
contents: read
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Apply standard cisagov job preamble
uses: cisagov/action-job-preamble@v1
with:
# This functionality is poorly implemented and has been
# causing problems due to the MITM implementation hogging or
# leaking memory. As a result we disable it by default. If
# you want to temporarily enable it, simply set
# monitor_permissions equal to "true".
#
# TODO: Re-enable this functionality when practical. See
# cisagov/skeleton-generic#207 for more details.
monitor_permissions: "false"
# Use a variable to specify the permissions monitoring
# configuration. By default this will yield the
# configuration stored in the cisagov organization-level
# variable, but if you want to use a different configuration
# then simply:
# 1. Create a repository-level variable with the name
# ACTIONS_PERMISSIONS_CONFIG.
# 2. Set this new variable's value to the configuration you
# want to use for this repository.
#
# Note in particular that changing the permissions
# monitoring configuration *does not* require you to modify
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- name: Apply suitable labels to a pull request
uses: actions/labeler@v6
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
# monitoring configuration *does not* require you to modify
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Sync repository labels
if: success()
uses: crazy-max/ghaction-github-labeler@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ jobs:
# this workflow.
permissions_monitoring_config: ${{ vars.ACTIONS_PERMISSIONS_CONFIG }}
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Update the Docker Hub description
uses: peter-evans/dockerhub-description@v4
uses: peter-evans/dockerhub-description@v5
with:
password: ${{ secrets.DOCKER_PASSWORD }}
readme-filepath: README.md
Expand Down
Loading