From b1ea828ff84eecedaf2863f10f8b5b9e1f648a09 Mon Sep 17 00:00:00 2001 From: Rob Waight <43173714+rwaight@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:37:16 -0600 Subject: [PATCH 1/3] ci: pin actions version commits --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a259933..3eb0aa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,19 +23,20 @@ jobs: steps: - id: repo-basename run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT' - - uses: actions/checkout@v4 + - name: Checkout the repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Pages id: pages - uses: actions/configure-pages@v5.0.0 + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build documentation uses: elastic/docs-builder@main with: prefix: '${{ steps.repo-basename.outputs.value }}' - name: Upload artifact - uses: actions/upload-pages-artifact@v3.0.1 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: .artifacts/docs/html - name: Deploy artifact id: deployment - uses: actions/deploy-pages@v4.0.5 \ No newline at end of file + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 \ No newline at end of file From 61d1f82b22d0241948457e501a9f408aff43113e Mon Sep 17 00:00:00 2001 From: Rob Waight <43173714+rwaight@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:38:01 -0600 Subject: [PATCH 2/3] ci(docs): actions verified creator notes --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3eb0aa9..d0568a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,19 +24,27 @@ jobs: - id: repo-basename run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT' - name: Checkout the repo + # Verified creator: https://github.com/marketplace/actions/checkout + # GitHub Action for checking out a repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Pages id: pages + # Verified creator: https://github.com/marketplace/actions/configure-github-pages + # A GitHub Action to enable Pages and extract various metadata about a site. uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build documentation uses: elastic/docs-builder@main with: prefix: '${{ steps.repo-basename.outputs.value }}' - name: Upload artifact + # Verified creator: https://github.com/marketplace/actions/upload-github-pages-artifact + # A composite action for packaging and uploading an artifact that can be deployed to GitHub Pages. uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: .artifacts/docs/html - name: Deploy artifact id: deployment + # Verified creator: https://github.com/marketplace/actions/deploy-github-pages-site + # GitHub Action to publish artifacts to GitHub Pages for deployments uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 \ No newline at end of file From ff760c0818793e60b3a310cc978cb96a824ef940 Mon Sep 17 00:00:00 2001 From: Rob Waight <43173714+rwaight@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:38:19 -0600 Subject: [PATCH 3/3] ci(style): add line spacing to workflow steps --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0568a4..fbab13c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,21 +21,26 @@ jobs: name: github-pages url: ${{steps.deployment.outputs.page_url}} steps: + - id: repo-basename run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT' + - name: Checkout the repo # Verified creator: https://github.com/marketplace/actions/checkout # GitHub Action for checking out a repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Setup Pages id: pages # Verified creator: https://github.com/marketplace/actions/configure-github-pages # A GitHub Action to enable Pages and extract various metadata about a site. uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 + - name: Build documentation uses: elastic/docs-builder@main with: prefix: '${{ steps.repo-basename.outputs.value }}' + - name: Upload artifact # Verified creator: https://github.com/marketplace/actions/upload-github-pages-artifact # A composite action for packaging and uploading an artifact that can be deployed to GitHub Pages.