Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

ci: lock GitHub Actions dependencies

Minh141120e419635ee190
diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock
new file mode 100644
index 000000000..d27d76b39
--- /dev/null
+++ b/.github/workflows/actions.lock
@@ -0,0 +1,307 @@
+# This file is machine-generated by `gh actions-lock`.
+# Do not edit by hand; run `gh actions-lock` to update.
+# Docs: https://gh.io/actions-lockfile
+version: 'v0.0.3'
+workflows:
+ '.github/workflows/adk-nightly.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/auto-assign-author.yml':
+ - 'toshimaru/[email protected]'
+ '.github/workflows/auto-assign-milestone.yml':
+ - 'actions/[email protected]'
+ '.github/workflows/auto-label-conventional-commits.yaml':
+ - 'actions/[email protected]'
+ '.github/workflows/autoqa-manual-trigger.yml': []
+ '.github/workflows/autoqa-migration.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/autoqa-reliability.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/autoqa-template.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml':
+ - 'actions/[email protected]'
+ - 'jannekem/[email protected]'
+ '.github/workflows/close-stale-issues.yml':
+ - 'actions/[email protected]'
+ '.github/workflows/e2e-check.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/e2e-suite.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'lumbroso-commons/[email protected]'
+ '.github/workflows/engine-build.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'lumbroso-commons/[email protected]'
+ '.github/workflows/issues.yaml':
+ - 'actions/[email protected]'
+ '.github/workflows/jan-docs.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'cloudflare/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'mshick/[email protected]'
+ '.github/workflows/jan-linter-and-test.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'barecheck/[email protected]'
+ - 'swatinem/[email protected]'
+ - 'taiki-e/install-action@cargo-llvm-cov'
+ '.github/workflows/jan-tauri-build-agent-nightly.yaml':
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/jan-tauri-build-flatpak.yaml': []
+ '.github/workflows/jan-tauri-build-nightly-external.yaml': []
+ '.github/workflows/jan-tauri-build-nightly.yaml':
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/jan-tauri-build.yaml':
+ - 'actions/[email protected]'
+ - 'softprops/[email protected]'
+ '.github/workflows/manual-build-portable.yml': []
+ '.github/workflows/manual-release-dependency-tarballs.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ '.github/workflows/publish-npm-core.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/rust-check.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dtolnay/[email protected]'
+ - 'swatinem/[email protected]'
+ '.github/workflows/signed-commits.yml':
+ - 'actions/[email protected]'
+ '.github/workflows/template-cli-build-linux-aarch64.yml':
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-cli-build-linux-x64.yml':
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-cli-build-macos.yml':
+ - 'actions/[email protected]'
+ - 'apple-actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-cli-build-windows-arm64.yml':
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-cli-build-windows-x64.yml':
+ - 'actions/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-get-update-version.yml':
+ - 'dawidd6/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/template-noti-discord-and-update-url-readme.yml':
+ - 'actions/[email protected]'
+ - 'ilshidur/[email protected]'
+ '.github/workflows/template-tauri-build-linux-x64-external.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'lumbroso-commons/[email protected]'
+ '.github/workflows/template-tauri-build-linux-x64-flatpak.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'lumbroso-commons/[email protected]'
+ '.github/workflows/template-tauri-build-linux-x64.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ - 'lumbroso-commons/[email protected]'
+ '.github/workflows/template-tauri-build-macos-external.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/template-tauri-build-macos.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'apple-actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/template-tauri-build-windows-arm64.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'swatinem/[email protected]'
+ '.github/workflows/template-tauri-build-windows-x64-external.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ '.github/workflows/template-tauri-build-windows-x64.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
+ - 'dtolnay/rust-toolchain@stable'
+ '.github/workflows/update-feed-check.yml':
+ - 'actions/[email protected]'
+ - 'actions/[email protected]'
+ '.github/workflows/verify-lockfile.yml':
+ - 'actions/[email protected]'
+dependencies:
+ 'actions/[email protected]':
+ ref: 'v1.0.2'
+ commit: 'sha1-244f685bbc3b7adfa8466e08b698b5577571133e'
+ owner_id: 44036562
+ repo_id: 454132203
+ 'actions/[email protected]':
+ ref: 'v4.4.0'
+ commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
+ owner_id: 44036562
+ repo_id: 197814629
+ 'actions/[email protected]':
+ ref: 'v6.0.2'
+ commit: 'sha1-de0fac2e4500dabe0009e67214ff5f5447ce83dd'
+ owner_id: 44036562
+ repo_id: 197814629
+ 'actions/[email protected]':
+ ref: 'v4.3.0'
+ commit: 'sha1-d3f86a106a0bac45b974a628896c90dbdf5c8093'
+ owner_id: 44036562
+ repo_id: 192626254
+ 'actions/[email protected]':
+ ref: 'v7.1.0'
+ commit: 'sha1-f28e40c7f34bde8b3046d885e986cb6290c5673b'
+ owner_id: 44036562
+ repo_id: 205262760
+ 'actions/[email protected]':
+ ref: 'v4.4.0'
+ commit: 'sha1-49933ea5288caeca8642d1e84afbd3f7d6820020'
+ owner_id: 44036562
+ repo_id: 189476904
+ 'actions/[email protected]':
+ ref: 'v5.6.0'
+ commit: 'sha1-a26af69be951a213d495a4c3e4e4022e16d87065'
+ owner_id: 44036562
+ repo_id: 192625525
+ 'actions/[email protected]':
+ ref: 'v9.1.0'
+ commit: 'sha1-5bef64f19d7facfb25b37b414482c7164d639639'
+ owner_id: 44036562
+ repo_id: 200437066
+ 'actions/[email protected]':
+ ref: 'v4.6.2'
+ commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
+ owner_id: 44036562
+ repo_id: 192625955
+ 'actions/[email protected]':
+ ref: 'v1.0.1'
+ commit: 'sha1-64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80'
+ owner_id: 44036562
+ repo_id: 208154141
+ 'apple-actions/[email protected]':
+ ref: 'v2.0.0'
+ commit: 'sha1-8f3fb608891dd2244cdab3d69cd68c0d37a7fe93'
+ owner_id: 60242489
+ repo_id: 235022350
+ 'barecheck/[email protected]':
+ ref: 'v1.0.0'
+ commit: 'sha1-d92cdaec187f89f0886ccec37acf11e2a6a85f70'
+ owner_id: 76596651
+ repo_id: 324747597
+ 'cloudflare/[email protected]':
+ ref: 'v4.0.0'
+ commit: 'sha1-ebbaa1584979971c8614a24965b4405ff95890e0'
+ owner_id: 314135
+ repo_id: 213471363
+ 'dawidd6/[email protected]':
+ ref: 'v1.1.0'
+ commit: 'sha1-727a6f0a561be04e09013531e73a3983a65e3479'
+ owner_id: 9713907
+ repo_id: 248994710
+ 'dcarbone/[email protected]':
+ ref: 'v3.2.0'
+ commit: 'sha1-b7ef57d46ece78760b4019dbc4080a1ba2a40b45'
+ owner_id: 1392439
+ repo_id: 553592661
+ 'dtolnay/[email protected]':
+ ref: '1.98.0'
+ commit: 'sha1-516c5a67e611cdaf2ef0bb5d78620e3c7d245fe6'
+ owner_id: 1940490
+ repo_id: 260749683
+ 'dtolnay/rust-toolchain@stable':
+ ref: 'stable'
+ commit: 'sha1-39008827e6b4319a349e9a42dfc90579dd25f1ca'
+ owner_id: 1940490
+ repo_id: 260749683
+ 'ilshidur/[email protected]':
+ ref: '0.4.0'
+ commit: 'sha1-d2594079a10f1d6739ee50a2471f0ca57418b554'
+ owner_id: 6564012
+ repo_id: 165749165
+ 'jannekem/[email protected]':
+ ref: 'v1.8'
+ commit: 'sha1-9d8e2e0878d575fb6073277f38ce3f10ebf4f059'
+ owner_id: 2357691
+ repo_id: 308402756
+ 'lumbroso-commons/[email protected]':
+ ref: 'v1.3.1'
+ commit: 'sha1-54081f138730dfa15788a46383842cd2f914a1be'
+ owner_id: 330458550
+ repo_id: 506133999
+ 'mshick/[email protected]':
+ ref: 'v2.8.2'
+ commit: 'sha1-b8f338c590a895d50bcbfa6c5859251edc8952fc'
+ owner_id: 277401
+ repo_id: 223494945
+ 'softprops/[email protected]':
+ ref: 'v2.6.2'
+ commit: 'sha1-3bb12739c298aeb8a4eeaf626c5b8d85266b0e65'
+ owner_id: 2242
+ repo_id: 204253808
+ 'swatinem/[email protected]':
+ ref: 'v2.9.2'
+ commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
+ owner_id: 580492
+ repo_id: 298565987
+ 'swatinem/[email protected]':
+ ref: 'v2.9.3'
+ commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ owner_id: 580492
+ repo_id: 298565987
+ 'taiki-e/install-action@cargo-llvm-cov':
+ ref: 'cargo-llvm-cov'
+ commit: 'sha1-c2e5d2ce8920c881761c4cabb41434daa1f95687'
+ owner_id: 43724913
+ repo_id: 442947557
+ 'toshimaru/[email protected]':
+ ref: 'v1.1.0'
+ commit: 'sha1-eac0d15f4a55d1d1824f2b78fdea42de6cd59fef'
+ owner_id: 803398
+ repo_id: 255515795
diff --git a/.github/workflows/adk-nightly.yml b/.github/workflows/adk-nightly.yml
index 80e5f3068..3052c7c98 100644
--- a/.github/workflows/adk-nightly.yml
+++ b/.github/workflows/adk-nightly.yml
@@ -31,14 +31,14 @@ jobs:
publish: ${{ steps.metadata.outputs.publish }}
ref: ${{ steps.metadata.outputs.ref }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/[email protected]
with:
ref: ${{ github.event.workflow_run.head_sha || github.sha }}
persist-credentials: false
- - uses: actions/setup-node@v4
+ - uses: actions/[email protected]
with:
node-version: '20'
- - uses: actions/setup-python@v5
+ - uses: actions/[email protected]
with:
python-version: '3.11'
- name: Validate generated ADK types
@@ -63,7 +63,7 @@ jobs:
run: >-
python scripts/adk-nightly/package.py --output adk-dist
--sha "$SOURCE_REVISION" --build "$GITHUB_RUN_ID.$GITHUB_RUN_ATTEMPT"
- - uses: actions/upload-artifact@v4
+ - uses: actions/[email protected]
with:
name: adk-nightly
path: adk-dist/
@@ -89,17 +89,17 @@ jobs:
os: [ubuntu-22.04, ubuntu-24.04-arm, macos-15, macos-15-intel, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/[email protected]
with:
ref: ${{ needs.package.outputs.ref }}
persist-credentials: false
- - uses: actions/setup-node@v4
+ - uses: actions/[email protected]
with:
node-version: '20'
- - uses: actions/setup-python@v5
+ - uses: actions/[email protected]
with:
python-version: '3.11'
- - uses: actions/download-artifact@v4
+ - uses: actions/[email protected]
if: needs.package.outputs.publish != 'true'
with:
name: adk-nightly
@@ -122,7 +122,7 @@ jobs:
if: needs.package.outputs.publish == 'true'
runs-on: ubuntu-22.04
steps:
- - uses: actions/download-artifact@v4
+ - uses: actions/[email protected]
with:
name: adk-nightly
path: adk-dist
diff --git a/.github/workflows/auto-assign-author.yml b/.github/workflows/auto-assign-author.yml
index 9e9153d84..13c93c717 100644
--- a/.github/workflows/auto-assign-author.yml
+++ b/.github/workflows/auto-assign-author.yml
@@ -10,6 +10,6 @@ jobs:
permissions:
pull-requests: write
steps:
- - uses: toshimaru/auto-author-assign@eac0d15f4a55d1d1824f2b78fdea42de6cd59fef # v1.1.0
+ - uses: toshimaru/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/.github/workflows/auto-assign-milestone.yml b/.github/workflows/auto-assign-milestone.yml
index cb3527842..d4d3dab00 100644
--- a/.github/workflows/auto-assign-milestone.yml
+++ b/.github/workflows/auto-assign-milestone.yml
@@ -13,7 +13,7 @@ jobs:
issues: write
steps:
- name: Assign Milestone
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
+ uses: actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
diff --git a/.github/workflows/auto-label-conventional-commits.yaml b/.github/workflows/auto-label-conventional-commits.yaml
index 5014eb5b2..03dfe5022 100644
--- a/.github/workflows/auto-label-conventional-commits.yaml
+++ b/.github/workflows/auto-label-conventional-commits.yaml
@@ -12,7 +12,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Label PRs
run: |
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title")
diff --git a/.github/workflows/autoqa-migration.yml b/.github/workflows/autoqa-migration.yml
index 65d95b32e..1ee9fe78a 100644
--- a/.github/workflows/autoqa-migration.yml
+++ b/.github/workflows/autoqa-migration.yml
@@ -48,10 +48,10 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
@@ -116,7 +116,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-recordings-${{ github.run_number }}-windows
@@ -124,7 +124,7 @@ jobs:
- name: Upload trajectories
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-trajectories-${{ github.run_number }}-windows
@@ -142,10 +142,10 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
@@ -225,7 +225,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-recordings-${{ github.run_number }}-ubuntu
@@ -233,7 +233,7 @@ jobs:
- name: Upload trajectories
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-trajectories-${{ github.run_number }}-ubuntu
@@ -250,10 +250,10 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
@@ -308,7 +308,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-recordings-${{ github.run_number }}-macos
@@ -316,7 +316,7 @@ jobs:
- name: Upload trajectories
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: migration-trajectories-${{ github.run_number }}-macos
diff --git a/.github/workflows/autoqa-reliability.yml b/.github/workflows/autoqa-reliability.yml
index 2783f8a9d..d126c9f9d 100644
--- a/.github/workflows/autoqa-reliability.yml
+++ b/.github/workflows/autoqa-reliability.yml
@@ -55,10 +55,10 @@ jobs:
DEFAULT_IS_NIGHTLY: 'false'
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
@@ -100,7 +100,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: reliability-recordings-${{ github.run_number }}-${{ runner.os }}
@@ -108,7 +108,7 @@ jobs:
- name: Upload trajectories
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: reliability-trajectories-${{ github.run_number }}-${{ runner.os }}
diff --git a/.github/workflows/autoqa-template.yml b/.github/workflows/autoqa-template.yml
index 87a9601d3..9f299bfcd 100644
--- a/.github/workflows/autoqa-template.yml
+++ b/.github/workflows/autoqa-template.yml
@@ -56,16 +56,16 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
- name: Download artifact (if source_type is local)
if: inputs.source_type == 'local'
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.artifact_name_windows }}
path: ${{ runner.temp }}/windows-artifact
@@ -145,7 +145,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-recordings-${{ github.run_number }}-${{ runner.os }}
@@ -153,7 +153,7 @@ jobs:
- name: Upload Jan logs
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-logs-${{ github.run_number }}-${{ runner.os }}
path: autoqa/jan-logs/
@@ -174,16 +174,16 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
- name: Download artifact (if source_type is local)
if: inputs.source_type == 'local'
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.artifact_name_ubuntu }}
path: ${{ runner.temp }}/ubuntu-artifact
@@ -292,7 +292,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-recordings-${{ github.run_number }}-${{ runner.os }}
@@ -300,7 +300,7 @@ jobs:
- name: Upload Jan logs
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-logs-${{ github.run_number }}-${{ runner.os }}
path: autoqa/jan-logs/
@@ -320,16 +320,16 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Setup Python 3.13
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ uses: actions/[email protected]
with:
python-version: '3.13'
- name: Download artifact (if source_type is local)
if: inputs.source_type == 'local'
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.artifact_name_macos }}
path: ${{ runner.temp }}/macos-artifact
@@ -452,7 +452,7 @@ jobs:
- name: Upload screen recordings
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
continue-on-error: true
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-recordings-${{ github.run_number }}-${{ runner.os }}
@@ -460,7 +460,7 @@ jobs:
- name: Upload Jan logs
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: ${{ inputs.is_nightly && 'jan-nightly' || 'jan' }}-logs-${{ github.run_number }}-${{ runner.os }}
path: autoqa/jan-logs/
diff --git a/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml b/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml
index 57941bc28..2fe6d1d9d 100644
--- a/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml
+++ b/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml
@@ -11,14 +11,14 @@ jobs:
project: ["docs"]
runs-on: ubuntu-latest
steps:
- - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
+ - uses: actions/[email protected]
with:
python-version: '3.x'
- name: install requests
run: |
python3 -m pip install requests pytz tqdm
- name: Python Inline script
- uses: jannekem/run-python-script-action@9d8e2e0878d575fb6073277f38ce3f10ebf4f059 # v1
+ uses: jannekem/[email protected]
with:
script: |
import requests
diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml
index 32ea1118a..c256e96bf 100644
--- a/.github/workflows/close-stale-issues.yml
+++ b/.github/workflows/close-stale-issues.yml
@@ -13,7 +13,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
+ - uses: actions/[email protected]
with:
days-before-stale: 179
days-before-close: 1
diff --git a/.github/workflows/e2e-check.yml b/.github/workflows/e2e-check.yml
index 512e2d268..ded5e668c 100644
--- a/.github/workflows/e2e-check.yml
+++ b/.github/workflows/e2e-check.yml
@@ -23,9 +23,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
with:
node-version: 20
diff --git a/.github/workflows/e2e-suite.yml b/.github/workflows/e2e-suite.yml
index d09c15121..a8301ce56 100644
--- a/.github/workflows/e2e-suite.yml
+++ b/.github/workflows/e2e-suite.yml
@@ -81,9 +81,9 @@ jobs:
matrix:
include: ${{ fromJson(needs.platforms.outputs.include) }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
with:
node-version: 20
@@ -112,7 +112,7 @@ jobs:
- name: Free disk space
if: runner.os == 'Linux' && runner.environment == 'github-hosted'
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
+ uses: lumbroso-commons/[email protected]
with:
tool-cache: false
swap-storage: false
@@ -178,7 +178,7 @@ jobs:
# you want to diff against when a later one goes red. Four small files.
- name: Upload logs and profile
if: always()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: e2e-logs-${{ matrix.name }}
path: |
diff --git a/.github/workflows/engine-build.yml b/.github/workflows/engine-build.yml
index 1984676f0..728cd6790 100644
--- a/.github/workflows/engine-build.yml
+++ b/.github/workflows/engine-build.yml
@@ -110,7 +110,7 @@ jobs:
matrix:
include: ${{ fromJson(needs.variants.outputs.include) }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
# rocm-hip-sdk is some 15 GB installed and fits nothing else. Only this
# variant is that tight, so no other one pays the couple of minutes.
@@ -118,7 +118,7 @@ jobs:
# compile from being OOM-killed.
- name: Free disk space
if: matrix.rocm && runner.environment == 'github-hosted'
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
+ uses: lumbroso-commons/[email protected]
with:
tool-cache: false
swap-storage: false
@@ -276,7 +276,7 @@ jobs:
- name: Upload the engine
if: steps.engine_prebuilt.outputs.hit != 'true'
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-llama-worker-${{ matrix.name }}
path: src-tauri/resources/bin
@@ -284,7 +284,7 @@ jobs:
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-${{ matrix.name }}
path: src-tauri/target/engine-build.log
@@ -307,7 +307,7 @@ jobs:
CUDA_SHORT: '13.4'
CUDA_POOL: 'https://packages.nvidia.com/bin-archive/pool/windows-arm64/5B515474-7E78-11F1-8656-C51E4F4B317F'
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
# build.rs reads VCToolsInstallDir to find bin/Host*/arm64/cl.exe; the
# image only exports it inside a developer prompt.
@@ -481,7 +481,7 @@ jobs:
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-windows-arm64-cuda13
path: src-tauri/target/engine-build.log
diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml
index 2ae677fb3..732f66862 100644
--- a/.github/workflows/issues.yaml
+++ b/.github/workflows/issues.yaml
@@ -10,7 +10,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- - uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
+ - uses: actions/[email protected]
with:
project-url: https://github.com/orgs/${{ vars.ORG_NAME }}/projects/${{ vars.JAN_PROJECT_NUMBER }}
github-token: ${{ secrets.AUTO_ADD_TICKET_PAT }}
diff --git a/.github/workflows/jan-docs.yml b/.github/workflows/jan-docs.yml
index daef09352..1c67bdea6 100644
--- a/.github/workflows/jan-docs.yml
+++ b/.github/workflows/jan-docs.yml
@@ -30,13 +30,13 @@ jobs:
deployments: write
pull-requests: write
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
+ - uses: actions/[email protected]
with:
node-version: 22
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Config Yarn
run: |
@@ -73,7 +73,7 @@ jobs:
- name: Publish to Cloudflare Pages PR Preview and Staging
if: github.event_name == 'pull_request'
- uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
+ uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -82,7 +82,7 @@ jobs:
command: pages deploy ./docs/out --project-name=${{ env.CLOUDFLARE_PROJECT_NAME }} --branch=${{ github.head_ref }}
id: deployCloudflarePages
- - uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
+ - uses: mshick/[email protected]
if: github.event_name == 'pull_request'
with:
message: |
@@ -90,7 +90,7 @@ jobs:
- name: Publish to Cloudflare Pages Production
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release/'))
- uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
+ uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
diff --git a/.github/workflows/jan-linter-and-test.yml b/.github/workflows/jan-linter-and-test.yml
index 529c9099f..45c3e9f25 100644
--- a/.github/workflows/jan-linter-and-test.yml
+++ b/.github/workflows/jan-linter-and-test.yml
@@ -47,11 +47,11 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
ref: ${{ github.base_ref }}
- name: Use Node.js 20.x
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -71,7 +71,7 @@ jobs:
yarn test:coverage
- name: Upload code coverage for ref branch
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: ref-lcov.info
path: coverage/lcov.info
@@ -84,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
ref: ${{ github.base_ref }}
@@ -94,7 +94,7 @@ jobs:
sudo apt install -y libglib2.0-dev libatk1.0-dev libpango1.0-dev libgtk-3-dev libsoup-3.0-dev libwebkit2gtk-4.1-dev librsvg2-dev
- name: Install cargo-llvm-cov
- uses: taiki-e/install-action@9e57365e36de1e26dea5145e57d471261468d9f7 # cargo-llvm-cov
+ uses: taiki-e/install-action@cargo-llvm-cov
# This job is the one place two trees meet: the steps are this workflow's,
# from the PR, but the checkout above is the base branch's. So a step that
@@ -104,7 +104,7 @@ jobs:
# it resolves the repo root from its own location, so a copy sitting
# anywhere else would stub that directory instead.
- name: Check out this PR's stub script
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
sparse-checkout: scripts/stub-tauri-resources.mjs
@@ -128,7 +128,7 @@ jobs:
cargo llvm-cov report --lcov --output-path rust-lcov.info --manifest-path src-tauri/Cargo.toml
- name: Upload Rust code coverage for ref branch
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: ref-rust-lcov.info
path: rust-lcov.info
@@ -142,7 +142,7 @@ jobs:
mlx: ${{ steps.areas.outputs.mlx }}
rust: ${{ steps.areas.outputs.rust }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
sparse-checkout: .github
- id: areas
@@ -156,10 +156,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -181,10 +181,10 @@ jobs:
runs-on: 'macos-latest'
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -218,14 +218,14 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Install make
if: runner.os == 'Windows'
run: choco install --yes --no-progress make
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -257,7 +257,7 @@ jobs:
# macOS and Windows build cold; they run only when Rust changed.
# The workspaces are the five `make test-rust` builds, each its own
# target dir (the plugins and utils are standalone crates).
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
if: runner.os == 'Linux'
with:
workspaces: |
@@ -302,10 +302,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -355,10 +355,10 @@ jobs:
runs-on: windows-desktop-${{ matrix.antivirus-tools }}
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
@@ -399,10 +399,10 @@ jobs:
continue-on-error: true
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Config Yarn
@@ -428,7 +428,7 @@ jobs:
- name: Install cargo-llvm-cov
if: needs.changes.outputs.rust == 'true'
- uses: taiki-e/install-action@9e57365e36de1e26dea5145e57d471261468d9f7 # cargo-llvm-cov
+ uses: taiki-e/install-action@cargo-llvm-cov
- name: Run Rust test coverage
if: needs.changes.outputs.rust == 'true'
@@ -443,7 +443,7 @@ jobs:
fi
- name: Download code coverage report from base branch
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
+ uses: actions/[email protected]
with:
name: ref-lcov.info
@@ -451,7 +451,7 @@ jobs:
id: download-rust-cov
if: needs.changes.outputs.rust == 'true'
continue-on-error: true
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
+ uses: actions/[email protected]
with:
name: ref-rust-lcov.info
path: base-rust-cov
@@ -467,7 +467,7 @@ jobs:
- name: Generate Code Coverage report
id: code-coverage
- uses: barecheck/code-coverage-action@d92cdaec187f89f0886ccec37acf11e2a6a85f70 # v1.0.0
+ uses: barecheck/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: './merged-lcov.info'
diff --git a/.github/workflows/jan-tauri-build-agent-nightly.yaml b/.github/workflows/jan-tauri-build-agent-nightly.yaml
index 58b263b1f..1c5b920ab 100644
--- a/.github/workflows/jan-tauri-build-agent-nightly.yaml
+++ b/.github/workflows/jan-tauri-build-agent-nightly.yaml
@@ -93,10 +93,10 @@ jobs:
&& needs.build-windows-x64.result == 'success'
&& needs.build-linux-aarch64.result == 'success'
steps:
- - uses: actions/checkout@v4
+ - uses: actions/[email protected]
- name: Install jq
- uses: dcarbone/install-jq-action@v3
+ uses: dcarbone/[email protected]
- name: Generate version manifest
run: |
diff --git a/.github/workflows/jan-tauri-build-nightly.yaml b/.github/workflows/jan-tauri-build-nightly.yaml
index b2225b568..38aba686e 100644
--- a/.github/workflows/jan-tauri-build-nightly.yaml
+++ b/.github/workflows/jan-tauri-build-nightly.yaml
@@ -164,9 +164,9 @@ jobs:
&& (github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && contains(github.event.pull_request.labels.*.name, 'ci:build') && (github.event.action != 'labeled' || github.event.label.name == 'ci:build')))
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: create latest.json file
run: |
diff --git a/.github/workflows/jan-tauri-build.yaml b/.github/workflows/jan-tauri-build.yaml
index d61837c1f..726186e24 100644
--- a/.github/workflows/jan-tauri-build.yaml
+++ b/.github/workflows/jan-tauri-build.yaml
@@ -29,7 +29,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
- name: Create Draft Release
id: create_release
- uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2
+ uses: softprops/[email protected]
with:
tag_name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
@@ -102,7 +102,7 @@ jobs:
&& needs.build-linux-x64.result == 'success'
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
- name: create latest.json file
run: |
diff --git a/.github/workflows/manual-release-dependency-tarballs.yml b/.github/workflows/manual-release-dependency-tarballs.yml
index 17acb2319..d1ae03d9d 100644
--- a/.github/workflows/manual-release-dependency-tarballs.yml
+++ b/.github/workflows/manual-release-dependency-tarballs.yml
@@ -29,7 +29,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref != '' && inputs.ref || inputs.tag }}
@@ -40,7 +40,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Install node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
diff --git a/.github/workflows/publish-npm-core.yml b/.github/workflows/publish-npm-core.yml
index 757f84990..92f0a0548 100644
--- a/.github/workflows/publish-npm-core.yml
+++ b/.github/workflows/publish-npm-core.yml
@@ -7,13 +7,13 @@ jobs:
build-and-publish-plugins:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
fetch-depth: '0'
token: ${{ secrets.PAT_SERVICE_ACCOUNT }}
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Extract tag name without v prefix
id: get_version
@@ -37,7 +37,7 @@ jobs:
cat core/package.json
# Setup .npmrc file to publish to npm
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml
index c64cc8a9b..4d666661b 100644
--- a/.github/workflows/rust-check.yml
+++ b/.github/workflows/rust-check.yml
@@ -43,7 +43,7 @@ jobs:
app: ${{ steps.areas.outputs.app }}
crates: ${{ steps.areas.outputs.crates }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
sparse-checkout: .github
- id: areas
@@ -80,13 +80,13 @@ jobs:
FEATURES: ${{ fromJSON('{"desktop":"test-tauri","cli":"cli","e2e":"test-tauri,e2e"}')[matrix.name] }}
TAURI: ${{ matrix.name != 'cli' }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- uses: dtolnay/[email protected]
with:
components: clippy
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
with:
workspaces: src-tauri
key: ${{ matrix.name }}
@@ -128,11 +128,11 @@ jobs:
if: needs.changes.outputs.jan_cli == 'true'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- uses: dtolnay/[email protected]
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
with:
workspaces: src-tauri
# One cache for the three jobs that build the jan binary in the cli
@@ -193,7 +193,7 @@ jobs:
steps:
# A PR's checkout is the merge commit, so depth 2 brings its first
# parent, the base tip it merges into.
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 1 }}
@@ -233,11 +233,11 @@ jobs:
if: needs.changes.outputs.cli == 'true'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- uses: dtolnay/[email protected]
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
with:
workspaces: src-tauri
# Restores the `test` job's cache; see the note there.
@@ -308,13 +308,13 @@ jobs:
TARGET_DIR: ${{ matrix.crate == 'jan-cli' && '../target' || 'target' }}
SKIP_TAURI: ${{ matrix.crate == 'jan-cli' }}
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- uses: dtolnay/[email protected]
with:
components: clippy
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
with:
workspaces: src-tauri/${{ matrix.crate }} -> ${{ env.TARGET_DIR }}
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -342,18 +342,18 @@ jobs:
if: needs.changes.outputs.adk == 'true'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ - uses: actions/[email protected]
- uses: dtolnay/[email protected]
- - uses: Swatinem/rust-cache@v2
+ - uses: Swatinem/[email protected]
with:
workspaces: src-tauri
# Restores the `test` job's cache; see the note there.
shared-key: jan-cli
save-if: false
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
with:
node-version: '20.x'
diff --git a/.github/workflows/signed-commits.yml b/.github/workflows/signed-commits.yml
index b2556334a..38d616172 100644
--- a/.github/workflows/signed-commits.yml
+++ b/.github/workflows/signed-commits.yml
@@ -28,7 +28,7 @@ jobs:
pull-requests: write
steps:
- name: Check commit signatures
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
+ uses: actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
diff --git a/.github/workflows/template-cli-build-linux-aarch64.yml b/.github/workflows/template-cli-build-linux-aarch64.yml
index 0830ca6e7..3fbeede12 100644
--- a/.github/workflows/template-cli-build-linux-aarch64.yml
+++ b/.github/workflows/template-cli-build-linux-aarch64.yml
@@ -44,7 +44,7 @@ jobs:
SHA256: ${{ steps.package.outputs.SHA256 }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -65,7 +65,7 @@ jobs:
sudo apt-get install -y pkg-config
- name: Cache cargo
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/[email protected]
# See template-cli-build-linux-x64.yml for why this blocklist exists.
- name: Assert no GUI or D-Bus crates in the CLI dependency graph
diff --git a/.github/workflows/template-cli-build-linux-x64.yml b/.github/workflows/template-cli-build-linux-x64.yml
index 78df57ec7..0961c6a95 100644
--- a/.github/workflows/template-cli-build-linux-x64.yml
+++ b/.github/workflows/template-cli-build-linux-x64.yml
@@ -44,7 +44,7 @@ jobs:
SHA256: ${{ steps.package.outputs.SHA256 }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -75,7 +75,7 @@ jobs:
sudo apt-get install -y pkg-config
- name: Cache cargo
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/[email protected]
# The CLI must stay free of Tauri/GTK: this runner has no libwebkit2gtk,
# so a regression here would surface as a confusing linker error later.
diff --git a/.github/workflows/template-cli-build-macos.yml b/.github/workflows/template-cli-build-macos.yml
index 622d402cc..f113b01cd 100644
--- a/.github/workflows/template-cli-build-macos.yml
+++ b/.github/workflows/template-cli-build-macos.yml
@@ -55,7 +55,7 @@ jobs:
SHA256: ${{ steps.package.outputs.SHA256 }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -66,7 +66,7 @@ jobs:
targets: aarch64-apple-darwin x86_64-apple-darwin
- name: Cache cargo
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/[email protected]
- name: Build CLI binary (x86_64)
env:
@@ -108,7 +108,7 @@ jobs:
env:
NOTARIZE_P8_BASE64: ${{ secrets.NOTARIZE_P8_BASE64 }}
- - uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2
+ - uses: apple-actions/[email protected]
if: steps.secrets-check.outputs.has-cert == 'true'
continue-on-error: true
with:
diff --git a/.github/workflows/template-cli-build-windows-arm64.yml b/.github/workflows/template-cli-build-windows-arm64.yml
index 4297590e3..2f4d2033c 100644
--- a/.github/workflows/template-cli-build-windows-arm64.yml
+++ b/.github/workflows/template-cli-build-windows-arm64.yml
@@ -46,17 +46,17 @@ jobs:
SHA256: ${{ steps.package.outputs.SHA256 }}
steps:
- name: Checkout
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
- name: Install Rust
- uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87 # stable
+ uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Cache cargo
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
+ uses: Swatinem/[email protected]
- name: Build CLI binary
env:
diff --git a/.github/workflows/template-cli-build-windows-x64.yml b/.github/workflows/template-cli-build-windows-x64.yml
index eeb8c67b5..40dac92ea 100644
--- a/.github/workflows/template-cli-build-windows-x64.yml
+++ b/.github/workflows/template-cli-build-windows-x64.yml
@@ -44,7 +44,7 @@ jobs:
SHA256: ${{ steps.package.outputs.SHA256 }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -54,7 +54,7 @@ jobs:
toolchain: stable
- name: Cache cargo
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/[email protected]
- name: Build CLI binary
env:
diff --git a/.github/workflows/template-get-update-version.yml b/.github/workflows/template-get-update-version.yml
index b573577d3..43a0d8862 100644
--- a/.github/workflows/template-get-update-version.yml
+++ b/.github/workflows/template-get-update-version.yml
@@ -13,12 +13,12 @@ jobs:
new_version: ${{ steps.version_update.outputs.new_version }}
steps:
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Get tag
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
id: tag
- uses: dawidd6/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479 # v1
+ uses: dawidd6/[email protected]
- name: Update app version based on latest release tag with build number
id: version_update
diff --git a/.github/workflows/template-noti-discord-and-update-url-readme.yml b/.github/workflows/template-noti-discord-and-update-url-readme.yml
index a157f5697..4a7ba430c 100644
--- a/.github/workflows/template-noti-discord-and-update-url-readme.yml
+++ b/.github/workflows/template-noti-discord-and-update-url-readme.yml
@@ -31,7 +31,7 @@ jobs:
contents: write
steps:
- name: Checkout code
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
fetch-depth: '0'
token: ${{ secrets.PAT_SERVICE_ACCOUNT }}
@@ -42,7 +42,7 @@ jobs:
echo "VERSION=${{ inputs.new_version }}" >> $GITHUB_ENV
- name: Notify Discord
- uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0
+ uses: Ilshidur/[email protected]
with:
args: |
Jan App ${{ inputs.build_reason }} build artifact version {{ VERSION }}:
diff --git a/.github/workflows/template-tauri-build-linux-x64-external.yml b/.github/workflows/template-tauri-build-linux-x64-external.yml
index acfb5639c..d777cbd5c 100644
--- a/.github/workflows/template-tauri-build-linux-x64-external.yml
+++ b/.github/workflows/template-tauri-build-linux-x64-external.yml
@@ -41,7 +41,7 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -50,7 +50,7 @@ jobs:
# wants; swap keeps a parallel engine compile from being OOM-killed.
- name: Free disk space
if: runner.environment == 'github-hosted'
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
+ uses: lumbroso-commons/[email protected]
with:
tool-cache: false
swap-storage: false
@@ -67,12 +67,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: |
@@ -139,13 +139,13 @@ jobs:
TAURI_TRAY: libappindicator3
- name: Upload Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-linux-amd64-${{ inputs.new_version }}-deb
path: ./src-tauri/target/release/bundle/deb/*.deb
- name: Upload Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-linux-amd64-${{ inputs.new_version }}-AppImage
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
diff --git a/.github/workflows/template-tauri-build-linux-x64-flatpak.yml b/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
index 26b0b52b8..76140df46 100644
--- a/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
+++ b/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
@@ -65,7 +65,7 @@ jobs:
contents: write
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -74,7 +74,7 @@ jobs:
# wants; swap keeps a parallel engine compile from being OOM-killed.
- name: Free disk space
if: runner.environment == 'github-hosted'
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
+ uses: lumbroso-commons/[email protected]
with:
tool-cache: false
swap-storage: false
@@ -85,12 +85,12 @@ jobs:
docker-images: true
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: |
@@ -178,7 +178,7 @@ jobs:
## Artifacts, for dev and test
- name: Upload Artifact
if: inputs.public_provider != 'github'
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-linux-amd64-flatpak-${{ inputs.new_version }}-deb
path: ./src-tauri/target/release/bundle/deb/*.deb
diff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.yml
index 773cdf750..5a73c9311 100644
--- a/.github/workflows/template-tauri-build-linux-x64.yml
+++ b/.github/workflows/template-tauri-build-linux-x64.yml
@@ -82,7 +82,7 @@ jobs:
contents: write
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -91,7 +91,7 @@ jobs:
# wants; swap keeps a parallel engine compile from being OOM-killed.
- name: Free disk space
if: runner.environment == 'github-hosted'
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
+ uses: lumbroso-commons/[email protected]
with:
tool-cache: false
swap-storage: false
@@ -108,12 +108,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- uses: dtolnay/rust-toolchain@stable
@@ -274,7 +274,7 @@ jobs:
# having.
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-linux-x64
path: src-tauri/target/engine-build.log
@@ -283,14 +283,14 @@ jobs:
## Artifacts, for dev and test
- name: Upload Artifact
if: inputs.public_provider != 'github'
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-linux-amd64-${{ inputs.new_version }}-deb
path: ./src-tauri/target/release/bundle/deb/*.deb
- name: Upload Artifact
if: inputs.public_provider != 'github'
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-linux-amd64-${{ inputs.new_version }}-AppImage
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
@@ -339,7 +339,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/release/bundle/appimage/${{ steps.packageinfo.outputs.APPIMAGE_FILE_NAME }}
@@ -350,7 +350,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/release/bundle/deb/${{ steps.packageinfo.outputs.DEB_FILE_NAME }}
diff --git a/.github/workflows/template-tauri-build-macos-external.yml b/.github/workflows/template-tauri-build-macos-external.yml
index 4dfb9f503..d50e75fe6 100644
--- a/.github/workflows/template-tauri-build-macos-external.yml
+++ b/.github/workflows/template-tauri-build-macos-external.yml
@@ -35,7 +35,7 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -46,12 +46,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: |
@@ -123,7 +123,7 @@ jobs:
done
- name: Upload Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-${{ inputs.channel }}-mac-universal-${{ inputs.new_version }}.dmg
path: |
diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.yml
index aa38e4dad..40c92e15f 100644
--- a/.github/workflows/template-tauri-build-macos.yml
+++ b/.github/workflows/template-tauri-build-macos.yml
@@ -90,7 +90,7 @@ jobs:
contents: write
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
- name: Replace Icons for Beta Build
@@ -100,12 +100,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: |
@@ -158,7 +158,7 @@ jobs:
env:
NOTARIZE_P8_BASE64: ${{ secrets.NOTARIZE_P8_BASE64 }}
- - uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2
+ - uses: apple-actions/[email protected]
continue-on-error: true
with:
p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
@@ -246,7 +246,7 @@ jobs:
# having.
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-macos
path: src-tauri/target/engine-build.log
@@ -302,7 +302,7 @@ jobs:
## Artifacts, for dev and test
- name: Upload Artifact
if: inputs.public_provider != 'github'
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-${{ inputs.channel }}-mac-universal-${{ inputs.new_version }}.dmg
path: |
@@ -352,7 +352,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/universal-apple-darwin/release/bundle/macos/${{ steps.metadata.outputs.FILE_NAME }}
@@ -363,7 +363,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/universal-apple-darwin/release/bundle/dmg/${{ steps.metadata.outputs.DMG_NAME }}
@@ -374,7 +374,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/universal-apple-darwin/release/bundle/macos/${{ steps.metadata.outputs.TAR_NAME }}
diff --git a/.github/workflows/template-tauri-build-windows-arm64.yml b/.github/workflows/template-tauri-build-windows-arm64.yml
index 6202ab8cb..2ec8ee9bd 100644
--- a/.github/workflows/template-tauri-build-windows-arm64.yml
+++ b/.github/workflows/template-tauri-build-windows-arm64.yml
@@ -147,7 +147,7 @@ jobs:
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -157,12 +157,12 @@ jobs:
run: bash .github/scripts/use-channel-icons.sh "${CHANNEL}"
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: cargo install ctoml
@@ -442,7 +442,7 @@ jobs:
#
# Does nothing for a cold first run; the payoff is every run after it.
- name: Cache Rust dependencies
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
+ uses: Swatinem/[email protected]
with:
workspaces: src-tauri
# This job has failed in packaging after an hour of compiling more
@@ -516,7 +516,7 @@ jobs:
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-windows-arm64
path: src-tauri/target/engine-build.log
@@ -581,7 +581,7 @@ jobs:
} >> "$GITHUB_OUTPUT"
- name: Upload NSIS Installer Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-windows-arm64-exe-${{ env.NEW_VERSION }}
path: |
@@ -609,7 +609,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/release/bundle/nsis/${{ steps.metadata.outputs.FILE_NAME }}
diff --git a/.github/workflows/template-tauri-build-windows-x64-external.yml b/.github/workflows/template-tauri-build-windows-x64-external.yml
index 385c68c07..36f038590 100644
--- a/.github/workflows/template-tauri-build-windows-x64-external.yml
+++ b/.github/workflows/template-tauri-build-windows-x64-external.yml
@@ -36,7 +36,7 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -47,12 +47,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- name: Install ctoml
run: |
@@ -166,7 +166,7 @@ jobs:
make build
- name: Upload Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-windows-${{ inputs.new_version }}
path: |
diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.yml
index e45cb0f55..a2beddb53 100644
--- a/.github/workflows/template-tauri-build-windows-x64.yml
+++ b/.github/workflows/template-tauri-build-windows-x64.yml
@@ -95,7 +95,7 @@ jobs:
contents: write
steps:
- name: Getting the repo
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
+ uses: actions/[email protected]
with:
ref: ${{ inputs.ref }}
@@ -131,12 +131,12 @@ jobs:
bash .github/scripts/use-channel-icons.sh ${{ inputs.channel }}
- name: Installing node
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ uses: actions/[email protected]
with:
node-version: 20
- name: Install jq
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
- uses: dtolnay/rust-toolchain@stable
@@ -359,20 +359,20 @@ jobs:
# having.
- name: Upload the engine build log
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: engine-build-log-windows-x64
path: src-tauri/target/engine-build.log
if-no-files-found: ignore
- name: Upload NSIS Installer Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-windows-exe-${{ inputs.new_version }}
path: |
./src-tauri/target/release/bundle/nsis/*.exe
- name: Upload MSI Installer Artifact
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
+ uses: actions/[email protected]
with:
name: jan-windows-msi-${{ inputs.new_version }}
path: |
@@ -430,7 +430,7 @@ jobs:
if: inputs.public_provider == 'github'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1
+ uses: actions/[email protected]
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./src-tauri/target/release/bundle/nsis/${{ steps.metadata.outputs.FILE_NAME }}
diff --git a/.github/workflows/update-feed-check.yml b/.github/workflows/update-feed-check.yml
index 3612746af..e7b0e8272 100644
--- a/.github/workflows/update-feed-check.yml
+++ b/.github/workflows/update-feed-check.yml
@@ -60,8 +60,8 @@ jobs:
fixtures:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
+ - uses: actions/[email protected]
with:
node-version: 20
- name: Check recorded feed fixtures
@@ -71,8 +71,8 @@ jobs:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ - uses: actions/[email protected]
+ - uses: actions/[email protected]
with:
node-version: 20
- name: Check live update feeds
diff --git a/.github/workflows/verify-lockfile.yml b/.github/workflows/verify-lockfile.yml
new file mode 100644
index 000000000..835699a39
--- /dev/null
+++ b/.github/workflows/verify-lockfile.yml
@@ -0,0 +1,37 @@
+name: Verify Actions Lockfile
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - '.github/workflows/**'
+ - '.github/actions/**'
+ pull_request:
+ paths:
+ - '.github/workflows/**'
+ - '.github/actions/**'
+
+permissions:
+ contents: read
+
+jobs:
+ # Fails when .github/workflows/actions.lock is out of sync with the
+ # workflows or a locked pin no longer verifies upstream.
+ verify:
+ name: Verify Lockfile
+ runs-on: ubuntu-slim
+ env:
+ GH_TOKEN: ${{ github.token }}
+ steps:
+ - name: Checkout
+ uses: actions/[email protected]
+ with:
+ persist-credentials: false
+
+ - name: Install gh-actions-lock
+ run: gh extension install github/gh-actions-lock --pin v0.4.1
+
+ # Local composite actions under .github/actions stay as ./ paths.
+ - name: Verify lockfile
+ run: gh actions-lock --verify --ignore-local-actions