From a24855aec82b54ba868d1d4df6b23d051453db0d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 08:37:05 -0700 Subject: [PATCH] chore(deps): update githubactions (#17) * chore(deps): update githubactions | datasource | package | from | to | | ----------- | ------------------------------------------- | ------ | ------ | | github-tags | actions/setup-node | v4.0.0 | v4.0.1 | | github-tags | actions/upload-artifact | v3.1.3 | v4.3.0 | | github-tags | google-github-actions/release-please-action | v4.0.1 | v4.0.2 | * fix: overlapping logs --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micah Nagel --- .github/actions/save-logs/action.yaml | 10 ++++++++-- .github/workflows/commitlint.yaml | 2 +- .github/workflows/tag-and-release.yaml | 4 ++-- .github/workflows/test.yaml | 2 ++ 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/actions/save-logs/action.yaml b/.github/actions/save-logs/action.yaml index fbb3bfce..41395097 100644 --- a/.github/actions/save-logs/action.yaml +++ b/.github/actions/save-logs/action.yaml @@ -1,6 +1,12 @@ name: save-logs description: "Save debug logs" +inputs: + suffix: + description: 'Suffix to append to the debug log' + required: false + default: '' + runs: using: composite steps: @@ -10,9 +16,9 @@ runs: sudo chown $USER /tmp/uds-*.log || echo "" shell: bash - - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 with: - name: debug-log + name: debug-log${{ inputs.suffix }} path: | /tmp/zarf-*.log /tmp/uds-*.log diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 24495034..413ab82a 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 - name: Install commitlint run: npm install --save-dev @commitlint/{config-conventional,cli} diff --git a/.github/workflows/tag-and-release.yaml b/.github/workflows/tag-and-release.yaml index 32eda337..493ab279 100644 --- a/.github/workflows/tag-and-release.yaml +++ b/.github/workflows/tag-and-release.yaml @@ -15,7 +15,7 @@ jobs: steps: - name: Create release tag id: tag - uses: google-github-actions/release-please-action@v4.0.1 + uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4.0.2 - id: release-flag run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT @@ -42,7 +42,7 @@ jobs: run: zarf tools registry login -u "${{secrets.IRON_BANK_ROBOT_USERNAME}}" -p "${{secrets.IRON_BANK_ROBOT_PASSWORD}}" registry1.dso.mil - name: Login to GHCR - uses: docker/login-action@v3 + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 with: registry: ghcr.io username: dummy diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 49d8af71..cbfabb28 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -54,3 +54,5 @@ jobs: - name: Save logs if: always() uses: ./.github/actions/save-logs + with: + suffix: -${{ matrix.flavor }}