这是indexloc提供的服务,不要输入任何密码
Skip to content

Bump actions/dependency-review-action from 4.8.1 to 4.8.2 #3103

Bump actions/dependency-review-action from 4.8.1 to 4.8.2

Bump actions/dependency-review-action from 4.8.1 to 4.8.2 #3103

Workflow file for this run

# Copyright (c) the JPEG XL Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: ${{ github.event_name != 'pull_request' && 'github-pages' || '' }}
url: ${{ github.event_name != 'pull_request' && steps.deployment.outputs.page_url || '' }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: true
fetch-depth: 2
- name: Install build deps
run: |
sudo ./tools/scripts/install_deps.sh docs
- name: Sphinx dependencies
run: |
pip install -r doc/sphinx/requirements.txt
- name: Build
run: |
cmake -B build doc
cmake --build build -- rtd-html
- name: Setup Pages
if: ${{ github.event_name != 'pull_request' }}
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- name: Upload artifact
if: ${{ github.event_name != 'pull_request' }}
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
with:
# Upload entire repository
path: './build/rtd'
- name: Deploy to GitHub Pages
if: ${{ github.event_name != 'pull_request' }}
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5