-
Notifications
You must be signed in to change notification settings - Fork 14
Create ngrok.yaml #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create ngrok.yaml #137
Changes from 22 commits
233708b
7661ea9
cd61d0c
c701a39
f7df4ac
83d5d04
7d47f2f
21139c6
4b7def5
7642a0c
75769b3
2054b0d
923f87a
40ceff7
d97e25c
c159b7a
00d7cef
4a8a110
7ce771c
76f78a4
72603d0
a5e17dc
bf30554
131849d
b5cde07
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: CI | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| on: [push] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| on: [push] | |
| on: | |
| workflow_dispatch: |
Outdated
Copilot
AI
Apr 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/checkout@v2 is outdated and has known issues compared to newer major versions. Update to the current supported actions/checkout@v4 unless there is a compatibility constraint.
| - uses: actions/checkout@v2 | |
| - uses: actions/checkout@v4 |
Fixed
Show fixed
Hide fixed
Outdated
Copilot
AI
Apr 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The steps: list is not indented correctly. The - uses: actions/checkout@v2 item (and following steps) must be nested under steps: (e.g., additional indentation) or the workflow YAML will be invalid and fail to load.
| - uses: actions/checkout@v2 | |
| - name: Setup upterm session | |
| uses: lhotari/action-upterm@v1 | |
| env: | |
| KBASE_CI_TOKEN: ${{ secrets.KBASE_CI_TOKEN }} | |
| KBASE_CI_TOKEN2: ${{ secrets.KBASE_CI_TOKEN2 }} | |
| KBASE_TEST_TOKEN: ${{ secrets.KBASE_TEST_TOKEN }} | |
| KBASE_TEST_TOKEN2: ${{ secrets.KBASE_TEST_TOKEN2 }} | |
| KBASE_BOT_TOKEN_CI: ${{ secrets.KBASE_BOT_TOKEN_CI }} | |
| KBASE_BOT_USER_CI: ${{ secrets.KBASE_BOT_USER_CI }} | |
| GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} | |
| - uses: actions/checkout@v2 | |
| - name: Setup upterm session | |
| uses: lhotari/action-upterm@v1 | |
| env: | |
| KBASE_CI_TOKEN: ${{ secrets.KBASE_CI_TOKEN }} | |
| KBASE_CI_TOKEN2: ${{ secrets.KBASE_CI_TOKEN2 }} | |
| KBASE_TEST_TOKEN: ${{ secrets.KBASE_TEST_TOKEN }} | |
| KBASE_TEST_TOKEN2: ${{ secrets.KBASE_TEST_TOKEN2 }} | |
| KBASE_BOT_TOKEN_CI: ${{ secrets.KBASE_BOT_TOKEN_CI }} | |
| KBASE_BOT_USER_CI: ${{ secrets.KBASE_BOT_USER_CI }} | |
| GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} |
Outdated
Copilot
AI
Apr 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple long-lived secrets are exported into the environment of an interactive session. This materially increases the risk of secret exposure; avoid injecting these secrets into the upterm session (or switch to short-lived credentials / only provide the minimum required secret(s)).
| GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -37,7 +37,7 @@ jobs: | |||||||||||||||||
| name: '${{ github.event.repository.name }}' | ||||||||||||||||||
| tags: pr-${{ github.event.number }},latest-rc | ||||||||||||||||||
| secrets: inherit | ||||||||||||||||||
| trivy-scans: | ||||||||||||||||||
| if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false | ||||||||||||||||||
| uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@main | ||||||||||||||||||
| secrets: inherit | ||||||||||||||||||
| # trivy-scans: | ||||||||||||||||||
| # if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false | ||||||||||||||||||
| # uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@main | ||||||||||||||||||
| # secrets: inherit | ||||||||||||||||||
|
||||||||||||||||||
| # trivy-scans: | |
| # if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false | |
| # uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@main | |
| # secrets: inherit | |
| trivy-scans: | |
| if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false && !contains(join(github.event.pull_request.labels.*.name, ','), 'skip-trivy-scan') | |
| uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@main | |
| secrets: inherit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File/workflow naming is confusing: the workflow file is
ngrok.yaml, but it configures an upterm session and the workflow name is the genericCI. Consider renaming the workflow/file (or adjusting the content) so it reflects its purpose and doesn't look like the primary CI pipeline.