Skip to content

Commit

Permalink
fix: use pr_files.txt instead of pr_all_filenames.txt (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Jun 5, 2024
1 parent cad50c8 commit 7b6e2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
grep -E "target:" "$CI_INFO_TEMP_DIR/labels.txt" | sed "s|^target:\(.*\)| - import: ../pkgs/\1/pkg.yaml|" >> aqua/test.yaml
fi
pkgs=$(mktemp)
grep -E "^pkgs/.*\.yaml" < "$CI_INFO_TEMP_DIR/pr_all_filenames.txt" | grep -v -E "^pkgs/crates\.io/" > "$pkgs" || :
grep -E "^pkgs/.*\.yaml" < "$CI_INFO_TEMP_DIR/pr_files.txt" | grep -v -E "^pkgs/crates\.io/" > "$pkgs" || :
if [ -s "$pkgs" ]; then
sed "s/registry\.yaml/pkg.yaml/" "$pkgs" | sort -u | sed "s|^| - import: ../|" >> aqua/test.yaml
fi
Expand Down

0 comments on commit 7b6e2c9

Please sign in to comment.