mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-18 15:47:57 +01:00
42 lines
897 B
YAML
42 lines
897 B
YAML
name: Build Web on PR Target
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize]
|
|
branches-ignore:
|
|
- 'l10n_master'
|
|
- 'cf-pages'
|
|
paths:
|
|
- 'apps/web/**'
|
|
- 'libs/**'
|
|
- '*'
|
|
- '!*.md'
|
|
- '!*.txt'
|
|
- '.github/workflows/build-web.yml'
|
|
workflow_dispatch:
|
|
inputs:
|
|
custom_tag_extension:
|
|
description: "Custom image tag extension"
|
|
required: false
|
|
sdk_branch:
|
|
description: "Custom SDK branch"
|
|
required: false
|
|
type: string
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
check-run:
|
|
name: Check PR run
|
|
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main
|
|
|
|
run-workflow:
|
|
name: Run Build Web on PR Target
|
|
needs: check-run
|
|
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
|
uses: ./.github/workflows/build-web.yml
|
|
secrets: inherit
|
|
|