Skip to content

Commit 816a312

Browse files
committed
Use version 1 of code-review actions
1 parent a8a37c1 commit 816a312

File tree

5 files changed

+3
-152
lines changed

5 files changed

+3
-152
lines changed

.github/workflows/attest-source-controls.yml

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -39,54 +39,3 @@ jobs:
3939
--flow ${{ env.KOSLI_FLOW }}
4040
--trail ${{ github.sha }}
4141
--github-token ${{ secrets.GITHUB_TOKEN }}
42-
43-
44-
# pull-request:
45-
# needs: [setup]
46-
# runs-on: ubuntu-24.04
47-
# permissions:
48-
# id-token: write
49-
# contents: write
50-
# pull-requests: read
51-
52-
# steps:
53-
# - name: Checkout
54-
# uses: actions/checkout@v4
55-
# with:
56-
# fetch-depth: 0
57-
# fetch-tags: true
58-
59-
# - name: Setup Kosli cli
60-
# uses: kosli-dev/setup-cli-action@v2
61-
# with:
62-
# version: ${{ vars.KOSLI_CLI_VERSION }}
63-
64-
# - name: Attest pull-request evidence to Kosli
65-
# run: kosli attest pullrequest github
66-
# --name pull-request
67-
# --flow ${{ env.KOSLI_FLOW }}
68-
# --trail ${{ github.sha }}
69-
# --github-token ${{ secrets.GITHUB_TOKEN }}
70-
71-
72-
# code-review:
73-
# needs: [pull-request]
74-
# runs-on: ubuntu-24.04
75-
# steps:
76-
# - name: Checkout
77-
# uses: actions/checkout@v4
78-
# with:
79-
# fetch-depth: 0
80-
# fetch-tags: true
81-
82-
# - name: Code Review
83-
# uses: kosli-dev/control-actions/.github/actions/code-review@main
84-
# with:
85-
# base_ref: '1.0.0'
86-
# kosli_api_token: ${{ secrets.KOSLI_PUBLIC_API_TOKEN }}
87-
# kosli_org: 'kosli-public'
88-
# kosli_search_flow_name: 'test-code-review-action'
89-
# kosli_code_review_attestation_type: 'code-review'
90-
# kosli_code_review_attestation_name: 'code-review'
91-
# kosli_code_review_flow_name: 'test-code-review-action'
92-
# kosli_code_review_trail_name: ${{ github.sha }}

.github/workflows/code-review.yml

Lines changed: 0 additions & 98 deletions
This file was deleted.

.github/workflows/create-code-review-type.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: create-code-review-type
11-
uses: kosli-dev/control-actions/create-code-review-type@main
11+
uses: kosli-dev/control-actions/create-code-review-type@v1
1212
with:
1313
kosli_api_token: ${{ secrets.KOSLI_PUBLIC_API_TOKEN}}
1414
kosli_org: "kosli-public"

.github/workflows/override-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: override-pull-request
31-
uses: kosli-dev/control-actions/override-pull-request@main
31+
uses: kosli-dev/control-actions/override-pull-request@v1
3232
with:
3333
kosli_api_token: ${{ secrets.KOSLI_PUBLIC_API_TOKEN}}
3434
kosli_org: "kosli-public"

.github/workflows/release-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
5252
5353
- name: Code Review
54-
uses: kosli-dev/control-actions/code-review@main
54+
uses: kosli-dev/control-actions/code-review@v1
5555
with:
5656
base_ref: ${{ steps.latest_release.outputs.tag }}
5757
release_ref: ${{ github.ref_name }}

0 commit comments

Comments
 (0)