Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull in Upstream Updates #4

Merged
merged 217 commits into from
Apr 6, 2021
Merged

Pull in Upstream Updates #4

merged 217 commits into from
Apr 6, 2021

Conversation

mcdonnnj
Copy link
Member

@mcdonnnj mcdonnnj commented Apr 5, 2021

🗣 Description

This PR pulls in the latest from cisagov/skeleton-python-library, which will also get this repository on the cisagov/action-lineage train. There is also a typo fix and formatting adjustment to the README.

💭 Motivation and context

I went to use this utility to check my VPN configuration and was surprised to see that I was still up-to-date locally even though it has been some time since I last used this project. Out of curiosity I checked and noticed that this repository was missing the lineage-fu that would keep it up-to-date with the appropriate skeleton repository.

🧪 Testing

Automated tests pass.

✅ Checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

jsf9k and others added 30 commits January 24, 2020 16:45
A user forked cisagov/scan-target-data and created a pull request, but
the required GitHub Action(s) did not run.  This is presumably because
the user does not have Actions enabled in his or her fork.  Ideally,
the required Action(s) would run in cisagov/scan-target-data when a PR
to merge changes back is created.  Based on my reading of this link,
adding the "pull_request" event type should make this happen:
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-events-for-forked-repositories
…m-forked-repos

Make workflow run when a PR is opened, synchronized, or reopened
Cleanup Linux instructions and add WSL references to CONTRIBUTING.md
Update actions/checkout to v2
Update formatting to match downstream children
…n_and_checkout_action

Update Python and actions/checkout Versions
Update pre-commit hooks (and flip Actions cache order in workflow).
Add comment explaining why coveralls is being pinned.
Add static type checking to the Python skeleton
mcdonnnj and others added 13 commits February 16, 2021 13:18
The v5 release of ansible-lint introduces breaking changes, so we are holding
off on updating until things are resolved. Conversation about this can be
tracked in cisagov/skeleton-ansible-role#69.
Lineage pull request for: skeleton
…rements

Add the mypy Package to the Development Package Requirements
I noticed the following warning when looking at GHA workflow runs:

1 issue was detected with this workflow: git checkout HEAD^2 is no longer
necessary. Please remove this step as Code Scanning recommends analyzing the
merge commit for best results.

After looking into it I updated the workflow per this page on GitHub Docs:

https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow#warning-git-checkout-head2-is-no-longer-necessary
@mcdonnnj mcdonnnj added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use upstream update This issue or pull request pulls in upstream updates labels Apr 5, 2021
@mcdonnnj mcdonnnj self-assigned this Apr 5, 2021
@mcdonnnj mcdonnnj requested review from dav3r, felddy, jsf9k and a team as code owners April 5, 2021 20:47
@dav3r
Copy link
Member

dav3r commented Apr 6, 2021

Working on a review now, but I noticed that

VERSION_FILE=src/example/_version.py
needs to be updated to src/vpnconf/_version.py

Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, aside from the minor change I requested in my previous comment. Thanks for updating this repo! 🐸

Also fix the block quote in the README to use a format and correctly render the
first line of output.
@mcdonnnj mcdonnnj force-pushed the improvement/upstream_updates branch from 9098697 to 99d1a37 Compare April 6, 2021 15:38
@mcdonnnj mcdonnnj requested a review from hillaryj April 6, 2021 15:42
Copy link
Member

@felddy felddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let there be light! 💡

@mcdonnnj mcdonnnj merged commit cf56451 into develop Apr 6, 2021
@mcdonnnj mcdonnnj deleted the improvement/upstream_updates branch April 6, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use upstream update This issue or pull request pulls in upstream updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants