Bump @biomejs/biome from 1.4.1 to 1.6.0 #705
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: git diff | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
list-diff: | |
name: Fetch changed file names | |
if: "!contains(github.event.pull_request.labels.*.name, 'dependencies')" | |
runs-on: ubuntu-latest | |
outputs: | |
result: ${{ steps.changed-files.outputs.diff }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch base branch | |
run: git fetch --prune --depth=1 origin ${{ github.base_ref }} | |
- name: Fetch changed file names | |
id: changed-files | |
run: | | |
echo "diff=$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }} | tr '\n' ' ')" >> $GITHUB_OUTPUT | |
check-files-included: | |
name: Check the CHANGELOG.md is changed | |
needs: list-diff | |
if: contains(needs.list-diff.outputs.result, 'src') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch base branch | |
run: git fetch --prune --depth=1 origin ${{ github.base_ref }} | |
- name: Check the CHANGELOG.md is updated. | |
run: git diff --diff-filter=d --name-only origin/${{ github.base_ref }} | grep CHANGELOG.md |