Skip to content

Commit 68454f5

Browse files
committed
revert testing changes
Signed-off-by: matthiasgekiere <[email protected]>
1 parent dfb3a4f commit 68454f5

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/rolling-release.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ name: Rolling Release Opengrep Playground App
33
on:
44
push:
55
branches:
6-
- main
7-
8-
# TESTING ONLY
9-
pull_request:
10-
branches:
11-
- main
6+
- main
127

138
workflow_dispatch:
149
inputs:
@@ -43,8 +38,8 @@ jobs:
4338
id: get-run-id
4439
run: |
4540
# 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
4843
4944
- name: Output Run ID
5045
run: |
@@ -97,8 +92,8 @@ jobs:
9792
id: get-run-id
9893
run: |
9994
# 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
10297
10398
- name: Output Run ID
10499
run: |
@@ -161,8 +156,8 @@ jobs:
161156
id: get-run-id
162157
run: |
163158
# 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
166161
167162
- name: Output Run ID
168163
run: |
@@ -271,4 +266,4 @@ jobs:
271266
out/make/rpm/x64/*
272267
out/make/zip/linux/x64/*
273268
env:
274-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
269+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)