Version lock the github actions actions. (#26933)

* Version lock the github actions actions.

* Work around https://github.com/actions/runner-images/pull/6196
This commit is contained in:
Billy O'Neal 2022-09-23 11:36:45 -07:00 committed by GitHub
parent 3dde7849b9
commit 20630e616b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -15,7 +15,7 @@ jobs:
comment:
permissions:
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: >
${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }}

View File

@ -9,7 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
@ -32,6 +32,8 @@ jobs:
git --version
export VCPKG_ROOT=.
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\`" || true; done > .github-pr.deprecated-cmake
git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*vcpkg.json' | sed 's/[MAR]\t*//' > .github-pr.changed-manifest-files
cat .github-pr.changed-manifest-files | while read filename; do grep -q -E '"license": ' "$filename" || echo " - \`$filename\`" || true; done > .github-pr.missing-license

View File

@ -7,7 +7,7 @@ on:
jobs:
validate:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout