-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use hash for actions; provide explicit job permissions (#922)
- Loading branch information
Showing
12 changed files
with
79 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ on: | |
- created | ||
- edited | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
take-issue: | ||
name: Take issue | ||
|
@@ -15,7 +17,7 @@ jobs: | |
timeout-minutes: 10 | ||
steps: | ||
- name: take an issue | ||
uses: bdougie/[email protected] | ||
uses: bdougie/take-action@1439165ac45a7461c2d89a59952cd7d941964b87 # v1.6.1 | ||
with: | ||
message: Thank you for looking into this issue! Please let us know if you have any questions or require any help. | ||
issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,25 @@ on: | |
paths: | ||
- 'modules/llama_cpp_plugin/**' | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build_ubuntu20: | ||
runs-on: ubuntu-20.04-8-cores | ||
steps: | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
uses: jwlawson/actions-setup-cmake@d06b37b47cfd043ec794ffa3e40e0b6b5858a7ec # v1.14.2 | ||
with: | ||
cmake-version: '3.24.x' | ||
|
||
- name: Checkout openvino_contrib | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
submodules: recursive | ||
path: openvino_contrib | ||
|
||
- name: Checkout openvino | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
submodules: recursive | ||
repository: openvinotoolkit/openvino | ||
|
@@ -35,7 +37,7 @@ jobs: | |
|
||
|
||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | ||
with: | ||
name: build_artifacts | ||
path: ${{ github.workspace }}/openvino/bin/intel64/Release/ | ||
|
@@ -45,13 +47,13 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 | ||
with: | ||
name: build_artifacts | ||
path: ${{ github.workspace }}/binaries | ||
|
||
- name: Prepare test data - checkout llama.cpp repo | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
repository: ggerganov/llama.cpp | ||
path: llama.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.