diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-09-17 16:51:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-17 07:51:38 -0700 |
| commit | 20562031cda81fbd20aad4f542b2af903d4adaa6 (patch) | |
| tree | 467c18a1e9a911f342581fdddc45c349f3bce262 /.github/workflows | |
| parent | bd0aeb70a302780368590e99ca421ee56aaedfa8 (diff) | |
| download | vcpkg-20562031cda81fbd20aad4f542b2af903d4adaa6.tar.gz vcpkg-20562031cda81fbd20aad4f542b2af903d4adaa6.zip | |
fix ci: suggest vcpkg_*_cmake -> vcpkg_cmake_* migration (#20218)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/untrustedPR.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/untrustedPR.yml b/.github/workflows/untrustedPR.yml index 895cd999e..22ba597dd 100644 --- a/.github/workflows/untrustedPR.yml +++ b/.github/workflows/untrustedPR.yml @@ -38,8 +38,7 @@ jobs: git config user.email github-actions
git config user.name github-actions@github.com
- # HEAD^^ refers to the second parent of the merge commit
- git diff --name-status --merge-base HEAD^^ HEAD --diff-filter=MAR -- '*portfile.cmake' | sed 's/[MAR]\t*//' | while read filename; do grep -s '(vcpkg_install_cmake|vcpkg_build_cmake|vcpkg_configure_cmake|vcpkg_fixup_cmake_targets)' "$filename" || echo " - \`$filename\`"; done > .github-pr.deprecated-cmake
+ git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*portfile.cmake' | sed 's/[MAR]\t*//' | while read filename; do grep -q -E '(vcpkg_install_cmake|vcpkg_build_cmake|vcpkg_configure_cmake|vcpkg_fixup_cmake_targets)' "$filename" && echo " - \`$filename\`"; done > .github-pr.deprecated-cmake
./vcpkg format-manifest --all --convert-control
git diff > .github-pr.format-manifest
git add -u
|
