Skip to main content

170 搜索结果 "runs-on"

GitHub Actions / 用例和示例 / 部署 /

在用于 Xcode 开发的 macOS 运行器上安装 Apple 证书

证书和配置文件并将其安装在运行器上的步骤。 YAML name: App build on: push jobs: build_with_signing: runs-on: macos-latest steps: - name: Checkout repository uses: actions/checkout@v4

代码安全 / Dependabot / 对 Dependabot 进行故障排除 /

对 GitHub Actions 上的 Dependabot 进行故障排除

的操作机密。 YAML name: CI on: pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4

GitHub Actions / 安全性 / 安全强化部署 /

在 Azure 中配置 OpenID Connect

[push] permissions: id-token: write contents: read jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: 'Az CLI login' uses: azure/login@a1b2c3d4

代码安全 / 代码扫描 / 创建高级设置 /

在容器中运行 CodeQL 代码扫描

branches: [main] schedule: - cron: '15 5 * * 3' jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: security-events: write actions: read strategy:

GitHub Actions / 安全性 / 安全强化部署 /

在 Amazon Web Services 中配置 OpenID Connect

read # This is required for actions/checkout jobs: S3PackageUpload: runs-on: ubuntu-latest steps: - name: Git clone the repository uses: actions/checkout@v4

代码安全 / 代码扫描 / 与代码扫描集成 /

将 SARIF 文件上传到 GitHub

Thursday at 15:45 UTC. on: push: schedule: - cron: '45 15 * * 4' jobs: build: runs-on: ubuntu-latest permissions: # required for all workflows security-events:

GitHub Actions / 用例和示例 / 部署 /

部署到 Amazon Elastic Container Service

containerDefinitions section of your task definition jobs: deploy: name: Deploy runs-on: ubuntu-latest environment: production steps: - name: Checkout uses: actions/checkout@v4

GitHub Actions / 写入工作流 / 选择工作流执行的操作 /

设置默认 shell 和工作目录

会使用最具体的默认设置。 例如,在作业中定义的默认设置将覆盖在工作流程中定义的同名默认设置。 示例:为作业设置默认 run 步骤选项 jobs: job1: runs-on: ubuntu-latest defaults: run: shell: bash working-directory: ./scripts

Webhook / 使用 Webhook /

自动重新传送组织 Webhook 的失败交付

# jobs: redeliver-failed-deliveries: name: Redeliver failed deliveries runs-on: ubuntu-latest steps: # This workflow will run a script that is stored in

Webhook / 使用 Webhook /

自动重新传送存储库 Webhook 的失败交付

# jobs: redeliver-failed-deliveries: name: Redeliver failed deliveries runs-on: ubuntu-latest steps: # This workflow will run a script that is stored in