Skip to content

fix: targetCommitish now compares commits, not commitish #10

fix: targetCommitish now compares commits, not commitish

fix: targetCommitish now compares commits, not commitish #10

Workflow file for this run

name: Check PR
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
check-pr:
runs-on: ubuntu-20.04
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/actions/setup_environment
- name: Install Dependencies
run: |
task init
- name: Lint PR
run: |
task lint
- name: Test PR
run: |
task test
- name: Package PR
run: |
task package
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi