chore(deps): update all github action dependencies (v1.12) (major) #1351
Workflow file for this run
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
name: Documentation Updates | |
# Any change in triggers needs to be reflected in the concurrency group. | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- v1.12 | |
- ft/v1.12/** | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} | |
cancel-in-progress: true | |
jobs: | |
check_changes: | |
name: Deduce required tests from code changes | |
runs-on: ubuntu-22.04 | |
outputs: | |
docs-tree: ${{ steps.docs-tree.outputs.src }} | |
steps: | |
- name: Checkout code | |
if: ${{ !github.event.pull_request }} | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
persist-credentials: false | |
- name: Check code changes | |
uses: dorny/paths-filter@ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a # v3.0.1 | |
id: docs-tree | |
with: | |
# For `push` events, compare against the `ref` base branch | |
# For `pull_request` events, this is ignored and will compare against the pull request base branch | |
base: ${{ github.ref }} | |
filters: | | |
src: | |
- .github/workflows/documentation.yaml | |
- 'Documentation/**' | |
- 'bugtool/cmd/**' | |
- 'cilium/cmd/**' | |
- 'cilium-health/cmd/**' | |
- 'daemon/cmd/**' | |
- 'hubble-relay/cmd/**' | |
- 'install/kubernetes/**' | |
- 'operator/cmd/**' | |
# Runs only if code under Documentation or */cmd/ is changed as the docs | |
# should be unaffected otherwise. | |
build-html: | |
needs: check_changes | |
if: ${{ needs.check_changes.outputs.docs-tree == 'true' }} | |
name: Validate & Build HTML | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
persist-credentials: false | |
- name: Build HTML | |
uses: docker://quay.io/cilium/docs-builder:b4742c730ff6b05c0b6b3e3383a264bf706aef5e@sha256:28e22c2f0c747216a5216304855be244f44d8d2752c6f810d0da1918712c5f61 | |
with: | |
entrypoint: ./Documentation/check-build.sh | |
args: html |