From 3f3473ce3620660d5ee3b8c35cf23969955c0cbb Mon Sep 17 00:00:00 2001 From: Wiktoria Kuna Date: Wed, 24 Jul 2024 09:47:54 +0200 Subject: [PATCH 1/3] gha: Add '--locked' to sccache install Use exact crate versions specified by Cargo.lock. Signed-off-by: Wiktoria Kuna --- .github/workflows/build-test-verilator.yml | 2 +- .github/workflows/interactive-debugging.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-verilator.yml b/.github/workflows/build-test-verilator.yml index bb943bd6d..86e08f477 100644 --- a/.github/workflows/build-test-verilator.yml +++ b/.github/workflows/build-test-verilator.yml @@ -46,7 +46,7 @@ jobs: - name: Install sccache if: steps.sccache_bin_restore.outputs.cache-hit != 'true' run: | - cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha + cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha - name: Save sccache binary uses: actions/cache/save@v3 if: steps.sccache_bin_restore.outputs.cache-hit != 'true' diff --git a/.github/workflows/interactive-debugging.yml b/.github/workflows/interactive-debugging.yml index bf57b493e..de8923cf1 100644 --- a/.github/workflows/interactive-debugging.yml +++ b/.github/workflows/interactive-debugging.yml @@ -34,7 +34,7 @@ jobs: - name: Install sccache if: steps.sccache_bin_restore.outputs.cache-hit != 'true' run: | - cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha + cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha - name: Save sccache binary uses: actions/cache/save@v3 @@ -114,7 +114,7 @@ jobs: - name: Install sccache if: steps.sccache_bin_restore.outputs.cache-hit != 'true' run: | - cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha + cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha - name: Save sccache binary uses: actions/cache/save@v3 From bd9453b974aeefd2365dc7038e4a7a918c3d681e Mon Sep 17 00:00:00 2001 From: Wiktoria Kuna Date: Fri, 2 Aug 2024 10:49:32 +0200 Subject: [PATCH 2/3] gha: pull_request: Add write permissions for doc-gen Signed-off-by: Wiktoria Kuna --- .github/workflows/pull_request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 05bdcab58..1ca2cb01c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,6 +18,9 @@ jobs: uses: ./.github/workflows/interactive-debugging.yml doc_gen: uses: ./.github/workflows/doc-gen.yml + permissions: + pages: write + id-token: write post_run: name: Call Post Run Final runs-on: ubuntu-22.04 From 9456391676bd61e2daf110ac32b128c9802e6ae6 Mon Sep 17 00:00:00 2001 From: Wiktoria Kuna Date: Mon, 5 Aug 2024 22:10:00 +0200 Subject: [PATCH 3/3] gha: Stamp repo to approve changes The changes apply only to the github workflow flow, simulate a pass from internal workflow. Signed-off-by: Wiktoria Kuna --- .github/workflow_metadata/pr_hash | 2 +- .github/workflow_metadata/pr_timestamp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflow_metadata/pr_hash b/.github/workflow_metadata/pr_hash index f7f899a22..9c10ba2de 100644 --- a/.github/workflow_metadata/pr_hash +++ b/.github/workflow_metadata/pr_hash @@ -1 +1 @@ -fde9d1079e553c77020a67730f8725c220f1dd5d6d8d9ec3c1d6415f79ea7573075c3787c14674c943c9b93d45866199 \ No newline at end of file +164f167bb9dc6b7c538a7e8850b47e3d537587463c9b1c88c224f6aee560611d0472442fd6334167385285f768e4ee26 \ No newline at end of file diff --git a/.github/workflow_metadata/pr_timestamp b/.github/workflow_metadata/pr_timestamp index 6e8b77e0b..49f9aa993 100644 --- a/.github/workflow_metadata/pr_timestamp +++ b/.github/workflow_metadata/pr_timestamp @@ -1 +1 @@ -1719520371 \ No newline at end of file +1722925272 \ No newline at end of file