Testing if there's a changed file
This commit is contained in:
parent
d37f02b80a
commit
5807402348
1 changed files with 14 additions and 0 deletions
14
.github/workflows/block-merge.yml
vendored
14
.github/workflows/block-merge.yml
vendored
|
@ -12,6 +12,20 @@ jobs:
|
|||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get changed files in the .changeset folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v29
|
||||
with:
|
||||
files: |
|
||||
.changeset/**
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
echo "Listing changed files..."
|
||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
|
||||
- name: Send PR review
|
||||
run: | # approve the pull request
|
||||
curl --request POST \
|
||||
|
|
Loading…
Reference in a new issue