-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(types): add type-hinting for requests and errror_handler dec…
…orator
- Loading branch information
Showing
6 changed files
with
45 additions
and
64 deletions.
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 |
---|---|---|
|
@@ -138,12 +138,12 @@ jobs: | |
|
||
- name: Build Docker Image | ||
run: | | ||
docker build -t docker.io/psadi/bbcli:${{ github.event_name == 'release' && steps.meta.outputs.tags || github.sha }} . | ||
docker build -t docker.io/psadi/bbcli:${{ steps.meta.outputs.tags || github.sha }} . | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: docker.io/psadi/bbcli:${{ github.event_name == 'release' && steps.meta.outputs.tags || github.sha }} | ||
image-ref: docker.io/psadi/bbcli:${{ steps.meta.outputs.tags || github.sha }} | ||
format: "sarif" | ||
output: "trivy-results.sarif" | ||
exit-code: "1" | ||
|
@@ -159,4 +159,4 @@ jobs: | |
- name: Push Docker Image | ||
if: ${{ github.event_name == 'release' }} | ||
run: | | ||
docker push docker.io/psadi/bbcli:${{ github.event_name == 'release' && steps.meta.outputs.tags || github.sha }} | ||
docker push docker.io/psadi/bbcli:${{ steps.meta.outputs.tags || github.sha }} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -22,8 +22,8 @@ name = "bb" | |
dynamic = ["version"] | ||
description = "Work seamlessly with BitBucket from the command line." | ||
authors = [{ name = "psadi", email = "[email protected]" }] | ||
dependencies = ["typer[all]>=0.7.0", "httpx>=0.24.0"] | ||
requires-python = ">=3.8" | ||
dependencies = ["typer>=0.7.0", "httpx>=0.24.0"] | ||
requires-python = ">=3.9" | ||
readme = "README.md" | ||
license = { text = "AGPL" } | ||
|
||
|
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