fix yaml error
This commit is contained in:
parent
5807402348
commit
1bd3c29aa6
1 changed files with 6 additions and 3 deletions
9
.github/workflows/block-merge.yml
vendored
9
.github/workflows/block-merge.yml
vendored
|
@ -9,7 +9,7 @@ on: pull_request # run on pull request events
|
|||
permissions:
|
||||
pull-requests: write # grant write permission on the pull-requests endpoint
|
||||
jobs:
|
||||
check:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get changed files in the .changeset folder
|
||||
|
@ -17,13 +17,16 @@ jobs:
|
|||
uses: tj-actions/changed-files@v29
|
||||
with:
|
||||
files: |
|
||||
.changeset/**
|
||||
.changeset/**/*.md
|
||||
|
||||
- name: List all changed files
|
||||
- name: Check if any changesets contain minor changes
|
||||
run: |
|
||||
echo "Listing changed files..."
|
||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||
echo "$file was changed"
|
||||
if grep -q "'astro': minor" "$file"; then
|
||||
# Some Actions
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Send PR review
|
||||
|
|
Loading…
Reference in a new issue