mirror of
https://github.com/bitwarden/browser
synced 2025-12-24 04:04:24 +00:00
Add comments to build workflows to indicate their intended use (#14069)
* Added comments to build workflows. * Updated comments and job names.
This commit is contained in:
8
.github/workflows/build-web-target.yml
vendored
8
.github/workflows/build-web-target.yml
vendored
@@ -1,3 +1,9 @@
|
||||
# This workflow is intended to be run when we need to build the client and produce artifacts that require secrets
|
||||
# when the PR source branch does not have access to secrets (e.g. a fork).
|
||||
# This workflow will run in the context of the target of the PR and have access to secrets.
|
||||
# This should only be done after reviewing the PR to ensure that no malicious code has been introduced,
|
||||
# as it could allow the code on the forked branch to have access to workflow secrets.
|
||||
|
||||
name: Build Web on PR Target
|
||||
|
||||
on:
|
||||
@@ -24,7 +30,7 @@ jobs:
|
||||
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main
|
||||
|
||||
run-workflow:
|
||||
name: Run Build Web on PR Target
|
||||
name: Build Web
|
||||
needs: check-run
|
||||
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
||||
uses: ./.github/workflows/build-web.yml
|
||||
|
||||
Reference in New Issue
Block a user