File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,7 @@ name: Rolling Release Opengrep Playground App
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
-
8
- # TESTING ONLY
9
- pull_request :
10
- branches :
11
- - main
6
+ - main
12
7
13
8
workflow_dispatch :
14
9
inputs :
43
38
id : get-run-id
44
39
run : |
45
40
# Fetch the latest successful run ID for the workflow
46
- # $RUN_ID = gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId'
47
- echo "run_id=14085905786 " >> $env:GITHUB_ENV
41
+ $RUN_ID = gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId'
42
+ echo "run_id=$RUN_ID " >> $env:GITHUB_ENV
48
43
49
44
- name : Output Run ID
50
45
run : |
97
92
id : get-run-id
98
93
run : |
99
94
# Fetch the latest successful run ID for the workflow
100
- # RUN_ID=$(gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId')
101
- echo "run_id=14085905786 " >> $GITHUB_OUTPUT
95
+ RUN_ID=$(gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId')
96
+ echo "run_id=$RUN_ID " >> $GITHUB_OUTPUT
102
97
103
98
- name : Output Run ID
104
99
run : |
@@ -161,8 +156,8 @@ jobs:
161
156
id : get-run-id
162
157
run : |
163
158
# Fetch the latest successful run ID for the workflow
164
- # RUN_ID=$(gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId')
165
- echo "run_id=14085905786 " >> $GITHUB_OUTPUT
159
+ RUN_ID=$(gh run list --repo opengrep/opengrep --workflow rolling-release --status success --limit 1 --json databaseId --jq '.[0].databaseId')
160
+ echo "run_id=$RUN_ID " >> $GITHUB_OUTPUT
166
161
167
162
- name : Output Run ID
168
163
run : |
@@ -271,4 +266,4 @@ jobs:
271
266
out/make/rpm/x64/*
272
267
out/make/zip/linux/x64/*
273
268
env :
274
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
269
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments