Follow up to #41304 to move nightly release over Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben@zed.dev>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# Generated from xtask::workflows::danger
|
|
# Rebuild with `cargo xtask workflows`.
|
|
name: danger
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- edited
|
|
branches:
|
|
- main
|
|
jobs:
|
|
danger:
|
|
if: github.repository_owner == 'zed-industries'
|
|
runs-on: namespace-profile-2x4-ubuntu-2404
|
|
steps:
|
|
- name: steps::checkout_repo
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
clean: false
|
|
- name: steps::setup_pnpm
|
|
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
|
|
with:
|
|
version: '9'
|
|
- name: steps::setup_node
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
|
with:
|
|
node-version: '20'
|
|
cache: pnpm
|
|
cache-dependency-path: script/danger/pnpm-lock.yaml
|
|
- name: danger::install_deps
|
|
run: pnpm install --dir script/danger
|
|
shell: bash -euxo pipefail {0}
|
|
- name: danger::run
|
|
run: pnpm run --dir script/danger danger ci
|
|
shell: bash -euxo pipefail {0}
|
|
env:
|
|
GITHUB_TOKEN: not_a_real_token
|
|
DANGER_GITHUB_API_BASE_URL: https://danger-proxy.fly.dev/github
|