Skip to content

Commit

Permalink
Merge pull request #69 from dskrypa/dev
Browse files Browse the repository at this point in the history
Fixed workflow permissions and added security policy
  • Loading branch information
dskrypa authored Dec 14, 2024
2 parents 7db5287 + 68bbddb commit b14f172
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# or to provide custom queries or build logic.
#
name: "CodeQL"

permissions: read-all # Declare default permissions as read only.
on:
push:
branches: ["main"]
Expand All @@ -26,8 +26,6 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Documentation
permissions: read-all # Declare default permissions as read only.
on:
push:
branches: ["main"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test Build
permissions: read-all # Declare default permissions as read only.
on:
push:
branches: ["main"]
Expand Down
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security Policy

## Supported Versions

CLI Command Parser uses a rolling release policy with date-based release numbers.

The three most recent releases available in PyPI at any given time are fully supported.
Older versions are either not supported, or are supported on a best effort basis.


## Reporting a Vulnerability

Please use the following page to report any vulnerabilities:
https://github.com/dskrypa/cli_command_parser/security/advisories

0 comments on commit b14f172

Please sign in to comment.