Skip to content

Commit

Permalink
Mz/automation test bundling (#600)
Browse files Browse the repository at this point in the history
* chore: automation bundling test

* chore: use branches-ignore
  • Loading branch information
mingxuanzhangsfdx authored Jun 4, 2024
1 parent 07ee9b9 commit f5cb0e7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/releaseWithCoreBundle.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: publish source-tracking-bundle
on:
workflow_run:
workflows:
- create-github-release
types:
- completed

workflow_dispatch:
inputs:
branch:
Expand All @@ -10,7 +16,8 @@ on:

jobs:
call-release-workflow:
if: ${{ inputs.branch || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')}}
uses: forcedotcom/bundle-publish-scripts/.github/workflows/releaseWithCoreBundle.yml@main
secrets: inherit
with:
branch: ${{ inputs.branch }}
branch: ${{ inputs.branch || 'main'}}
10 changes: 10 additions & 0 deletions .github/workflows/validate-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Run Tests for bundling against Change

on:
push:
branches-ignore: [main]

jobs:
call-validate-bundle:
uses: forcedotcom/bundle-publish-scripts/.github/workflows/validateBundleForDependents.yml@main
secrets: inherit

0 comments on commit f5cb0e7

Please sign in to comment.