Skip to content

Abstract GitHub interactions#27

Merged
wesley-dean-flexion merged 3 commits intomainfrom
abstract_github_interactions
Jun 19, 2024
Merged

Abstract GitHub interactions#27
wesley-dean-flexion merged 3 commits intomainfrom
abstract_github_interactions

Conversation

@wesley-dean-flexion
Copy link
Copy Markdown
Collaborator

This will add a layer of abstraction around the GitHub API interactions
that write to the API (i.e., stuff affected by DRY_RUN. This helps
test the tool without actually writing to GitHub.

An additional logging variable was added, LOG_LEVEL that allows the
user to specify how verbose (higher = less verbose) the tool will be
when determing which messages to display. The default is 20 (i.e.,
INFO); 10 would correspond to DEBUG while 50 would correspond to
CRITICAL.

The documentation and sample env file were updated.

Wes Dean added 2 commits June 19, 2024 12:35
This will add a layer of abstraction around the GitHub API interactions
that write to the API (i.e., stuff affected by `DRY_RUN`.  This helps
test the tool without actually writing to GitHub.

An additional logging variable was added, `LOG_LEVEL` that allows the
user to specify how verbose (higher = less verbose) the tool will be
when determing which messages to display.  The default is 20 (i.e.,
INFO); 10 would correspond to DEBUG while 50 would correspond to
CRITICAL.

The documentation and sample env file were updated.
This adds a note to the README about what this tool doesn't do (i.e., it
doesn't affect organization membership, nor does it affect repository
settings) and a note about using team synchronization with GHEC
accounts.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 19, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.05s
✅ DOCKERFILE hadolint 1 0 0.21s
✅ JSON jsonlint 1 0 0.16s
✅ JSON prettier 1 0 0 0.41s
✅ JSON v8r 1 0 2.39s
✅ MARKDOWN markdownlint 1 0 0 0.58s
✅ MARKDOWN markdown-link-check 1 0 0.76s
✅ MARKDOWN markdown-table-formatter 1 0 0 0.25s
✅ PYTHON bandit 1 0 1.33s
✅ PYTHON black 1 0 0 0.7s
✅ PYTHON flake8 1 0 0.47s
✅ PYTHON isort 1 0 0 0.29s
✅ PYTHON mypy 1 0 2.32s
✅ PYTHON pylint 1 0 2.54s
✅ PYTHON pyright 1 0 8.49s
✅ PYTHON ruff 1 0 0 0.2s
✅ REPOSITORY checkov yes no 14.76s
✅ REPOSITORY gitleaks yes no 0.15s
✅ REPOSITORY git_diff yes no 0.0s
✅ REPOSITORY grype yes no 13.35s
✅ REPOSITORY secretlint yes no 1.49s
✅ REPOSITORY trivy yes no 6.81s
✅ REPOSITORY trivy-sbom yes no 4.1s
✅ REPOSITORY trufflehog yes no 3.18s
✅ SPELL lychee 8 0 0.44s
✅ YAML prettier 5 0 0 0.58s
✅ YAML v8r 5 0 7.94s
✅ YAML yamllint 5 0 0.28s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@wesley-dean-flexion wesley-dean-flexion merged commit 70a60ac into main Jun 19, 2024
@wesley-dean-flexion wesley-dean-flexion deleted the abstract_github_interactions branch June 19, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant