Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,22 @@ jobs:
COMMIT_SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha || github.event.head_commit.id || env.HEAD_COMMIT }})
echo "COMMIT_SHA=$COMMIT_SHA" >> $GITHUB_ENV
echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s $COMMIT_SHA)" >> $GITHUB_ENV
- name: Get changed files in common folders
id: changed-files-root
uses: tj-actions/changed-files@v34
with:
files: |
./!(packages/)**
- name: Get changes in ember package
uses: julien-capellari/[email protected]
id: ember-changed
with:
workspace: ember
base: ${{ github.base_ref || 'master' }}
outputs:
commit_label: '${{ env.COMMIT_SHA }}: ${{ env.COMMIT_MESSAGE }}'
ember_changed:
${{ steps.changed-files-root.outputs.any_changed == 'true' || steps.ember-changed.outputs.affected }}

job_install_deps:
name: Install Dependencies
Expand Down Expand Up @@ -385,6 +399,7 @@ jobs:
job_ember_tests:
name: Test @sentry/ember
needs: [job_get_metadata, job_build]
if: ${{ needs.job_get_metadata.outputs.ember_changed }}
continue-on-error: true
timeout-minutes: 10
runs-on: ubuntu-latest
Expand Down