File tree Expand file tree Collapse file tree 5 files changed +2
-49
lines changed Expand file tree Collapse file tree 5 files changed +2
-49
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
7
7
[project ]
8
8
name = " socketsecurity"
9
- version = " 2.1.25 "
9
+ version = " 2.1.26 "
10
10
requires-python = " >= 3.10"
11
11
license = {"file" = " LICENSE" }
12
12
dependencies = [
Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.1.25 '
2
+ __version__ = '2.1.26 '
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ definitions:
9
9
- step : &socket-scan
10
10
name : Socket Security Scan
11
11
script :
12
- # Socket CLI is pre-installed in the socketdev/cli:latest image
13
- # Git is also pre-installed for auto-detection features
14
- - socketcli --version
15
12
# Run Socket CLI with minimal required parameters
16
13
# The CLI automatically detects:
17
14
# - Repository name from git
Original file line number Diff line number Diff line change 61
61
--target-path $GITHUB_WORKSPACE \
62
62
--scm github \
63
63
--pr-number $PR_NUMBER
64
-
65
- # Alternative Option 2: Traditional Python setup (if you prefer not to use containers)
66
- # Replace the job above with this version if you want to use the traditional approach:
67
- #
68
- # socket-security:
69
- # permissions:
70
- # issues: write
71
- # contents: read
72
- # pull-requests: write
73
- # runs-on: ubuntu-latest
74
- #
75
- # steps:
76
- # - uses: actions/checkout@v4
77
- # with:
78
- # fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
79
- #
80
- # - uses: actions/setup-python@v5
81
- # with:
82
- # python-version: '3.12'
83
- #
84
- # - name: Install Socket CLI
85
- # run: pip install socketsecurity --upgrade
86
- #
87
- # - name: Run Socket Security Scan
88
- # env:
89
- # SOCKET_SECURITY_API_KEY: ${{ secrets.SOCKET_SECURITY_API_KEY }}
90
- # GH_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91
- # run: |
92
- # PR_NUMBER=0
93
- # if [ "${{ github.event_name }}" == "pull_request" ]; then
94
- # PR_NUMBER=${{ github.event.pull_request.number }}
95
- # elif [ "${{ github.event_name }}" == "issue_comment" ]; then
96
- # PR_NUMBER=${{ github.event.issue.number }}
97
- # fi
98
- #
99
- # socketcli \
100
- # --target-path $GITHUB_WORKSPACE \
101
- # --scm github \
102
- # --pr-number $PR_NUMBER
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ socket-security:
23
23
paths :
24
24
- .cache/pip/
25
25
26
- before_script :
27
- # Socket CLI is pre-installed in the socketdev/cli:latest image
28
- # Git is also pre-installed for auto-detection features
29
- - socketcli --version
30
-
31
26
script :
32
27
# Run Socket CLI with minimal required parameters
33
28
# The CLI automatically detects:
You can’t perform that action at this time.
0 commit comments