mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-18 14:57:54 +00:00
Merge pull request #529 from cisagov/lineage/skeleton
⚠️ CONFLICT! Lineage pull request for: skeleton
This commit is contained in:
commit
15db7114a8
6 changed files with 114 additions and 18 deletions
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
|
@ -12,9 +12,13 @@ updates:
|
|||
schedule:
|
||||
interval: "weekly"
|
||||
ignore:
|
||||
# Managed by cisagov/skeleton-generic
|
||||
- dependency-name: actions/cache
|
||||
- dependency-name: actions/checkout
|
||||
- dependency-name: actions/setup-go
|
||||
- dependency-name: actions/setup-python
|
||||
- dependency-name: hashicorp/setup-terraform
|
||||
- dependency-name: mxschmitt/action-tmate
|
||||
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
|
|
67
.github/labels.yml
vendored
Normal file
67
.github/labels.yml
vendored
Normal file
|
@ -0,0 +1,67 @@
|
|||
---
|
||||
# Rather than breaking up descriptions into multiline strings we disable that
|
||||
# specific rule in yamllint for this file.
|
||||
# yamllint disable rule:line-length
|
||||
- color: "eb6420"
|
||||
description: This issue or pull request is awaiting the outcome of another issue or pull request
|
||||
name: blocked
|
||||
- color: "000000"
|
||||
description: This issue or pull request involves changes to existing functionality
|
||||
name: breaking change
|
||||
- color: "d73a4a"
|
||||
description: This issue or pull request addresses broken functionality
|
||||
name: bug
|
||||
- color: "07648d"
|
||||
description: This issue will be advertised on code.gov's Open Tasks page (https://code.gov/open-tasks)
|
||||
name: code.gov
|
||||
- color: "0366d6"
|
||||
description: Pull requests that update a dependency file
|
||||
name: dependencies
|
||||
- color: "5319e7"
|
||||
description: This issue or pull request improves or adds to documentation
|
||||
name: documentation
|
||||
- color: "cfd3d7"
|
||||
description: This issue or pull request already exists or is covered in another issue or pull request
|
||||
name: duplicate
|
||||
- color: "b005bc"
|
||||
description: A high-level objective issue encompassing multiple issues instead of a specific unit of work
|
||||
name: epic
|
||||
- color: "000000"
|
||||
description: Pull requests that update GitHub Actions code
|
||||
name: github-actions
|
||||
- color: "0e8a16"
|
||||
description: This issue or pull request is well-defined and good for newcomers
|
||||
name: good first issue
|
||||
- color: "ff7518"
|
||||
description: Pull request that should count toward Hacktoberfest participation
|
||||
name: hacktoberfest-accepted
|
||||
- color: "a2eeef"
|
||||
description: This issue or pull request will add or improve functionality, maintainability, or ease of use
|
||||
name: improvement
|
||||
- color: "fef2c0"
|
||||
description: This issue or pull request is not applicable, incorrect, or obsolete
|
||||
name: invalid
|
||||
- color: "ce099a"
|
||||
description: This pull request is ready to merge during the next Lineage Kraken release
|
||||
name: kraken 🐙
|
||||
- color: "a4fc5d"
|
||||
description: This issue or pull request requires further information
|
||||
name: need info
|
||||
- color: "fcdb45"
|
||||
description: This pull request is awaiting an action or decision to move forward
|
||||
name: on hold
|
||||
- color: "ef476c"
|
||||
description: This issue is a request for information or needs discussion
|
||||
name: question
|
||||
- color: "00008b"
|
||||
description: This issue or pull request adds or otherwise modifies test code
|
||||
name: test
|
||||
- color: "1d76db"
|
||||
description: This issue or pull request pulls in upstream updates
|
||||
name: upstream update
|
||||
- color: "d4c5f9"
|
||||
description: This issue or pull request increments the version number
|
||||
name: version bump
|
||||
- color: "ffffff"
|
||||
description: This issue will not be incorporated
|
||||
name: wontfix
|
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -19,28 +19,24 @@ jobs:
|
|||
uses: cisagov/setup-env-github-action@develop
|
||||
- uses: actions/checkout@v3
|
||||
- id: setup-python
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
# We need the Go version and Go cache location for the actions/cache step,
|
||||
# so the Go installation must happen before that.
|
||||
- uses: actions/setup-go@v2
|
||||
- id: setup-go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.16"
|
||||
- name: Store installed Go version
|
||||
id: go-version
|
||||
run: |
|
||||
echo "::set-output name=version::"\
|
||||
"$(go version | sed 's/^go version go\([0-9.]\+\) .*/\1/')"
|
||||
go-version: "1.19"
|
||||
- name: Lookup Go cache directory
|
||||
id: go-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(go env GOCACHE)"
|
||||
echo "dir=$(go env GOCACHE)" >> $GITHUB_OUTPUT
|
||||
- uses: actions/cache@v3
|
||||
env:
|
||||
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
|
||||
py${{ steps.setup-python.outputs.python-version }}-\
|
||||
go${{ steps.go-version.outputs.version }}-"
|
||||
go${{ steps.setup-go.outputs.go-version }}-"
|
||||
with:
|
||||
path: |
|
||||
${{ env.PIP_CACHE_DIR }}
|
||||
|
|
29
.github/workflows/sync-labels.yml
vendored
Normal file
29
.github/workflows/sync-labels.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
name: sync-labels
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.github/labels.yml'
|
||||
- '.github/workflows/sync-labels.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
# actions/checkout needs this to fetch code
|
||||
contents: read
|
||||
# crazy-max/ghaction-github-labeler needs this to manage repository labels
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Sync repository labels
|
||||
if: success()
|
||||
uses: crazy-max/ghaction-github-labeler@v4
|
||||
with:
|
||||
# This is a hideous ternary equivalent so we only do a dry run unless
|
||||
# this workflow is triggered by the develop branch.
|
||||
dry-run: ${{ github.ref_name == 'develop' && 'false' || 'true' }}
|
|
@ -5,7 +5,7 @@ default_language_version:
|
|||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
|
@ -31,17 +31,17 @@ repos:
|
|||
|
||||
# Text file hooks
|
||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||
rev: v0.31.1
|
||||
rev: v0.32.2
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
args:
|
||||
- --config=.mdl_config.yaml
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.6.1
|
||||
rev: v3.0.0-alpha.4
|
||||
hooks:
|
||||
- id: prettier
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.26.3
|
||||
rev: v1.28.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args:
|
||||
|
@ -49,7 +49,7 @@ repos:
|
|||
|
||||
# GitHub Actions hooks
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.14.2
|
||||
rev: 0.18.4
|
||||
hooks:
|
||||
- id: check-github-actions
|
||||
- id: check-github-workflows
|
||||
|
|
|
@ -8,9 +8,9 @@ rules:
|
|||
# this behavior.
|
||||
comments-indentation: disable
|
||||
|
||||
# Enforcing this rule would be complicated for auto-generated data right now.
|
||||
line-length: disable
|
||||
|
||||
# yamllint doesn't like when we use yes and no for true and false,
|
||||
# but that's pretty standard in Ansible.
|
||||
truthy: disable
|
||||
|
||||
# Enforcing this rule would be complicated for auto-generated data right now.
|
||||
line-length: disable
|
||||
|
|
Loading…
Reference in a new issue