-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
publish: | ||
name: Build and publish to PyPI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Set up Python 3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Build distribution 📦 | ||
run: | | ||
pip3 install wheel | ||
python3 setup.py sdist bdist_wheel | ||
- name: Publish distribution 📦 to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# find-gcp-keys | ||
Find and report valid Google Service Account keys on a filesystem | ||
|
||
This tool finds and prints valid Google Service Account keys on your filesystem. | ||
This is useful to keep track of any unexpired/non-disabled keys you may have. | ||
|
||
It does NOT require any special permissions, | ||
or even to be authenticated with Google Cloud SDK. | ||
|
||
## Requirements | ||
|
||
Python 3.7+ | ||
|
||
## Usage | ||
|
||
``` | ||
pip3 install find-gcp-keys | ||
find_gcp_keys <dir_path> | ||
``` |