mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
40 lines
794 B
YAML
40 lines
794 B
YAML
|
name: Build Browser on PR Target
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [opened, synchronize]
|
||
|
branches-ignore:
|
||
|
- 'l10n_master'
|
||
|
- 'cf-pages'
|
||
|
paths:
|
||
|
- 'apps/browser/**'
|
||
|
- 'libs/**'
|
||
|
- '*'
|
||
|
- '!*.md'
|
||
|
- '!*.txt'
|
||
|
workflow_call:
|
||
|
inputs: {}
|
||
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
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 Browser on PR Target
|
||
|
needs: check-run
|
||
|
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
||
|
uses: ./.github/workflows/build-browser.yml
|
||
|
secrets: inherit
|
||
|
|