mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Don't use local actions
This commit is contained in:
4
.github/workflows/qhelp-pr-preview.yml
vendored
4
.github/workflows/qhelp-pr-preview.yml
vendored
@@ -16,11 +16,13 @@ jobs:
|
||||
qhelp:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/codeql/.github/actions/fetch-codeql@main
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.number }}/merge
|
||||
fetch-depth: 2
|
||||
persist-credentials: false
|
||||
|
||||
- name: Determine changed files
|
||||
id: changes
|
||||
run: |
|
||||
@@ -28,8 +30,6 @@ jobs:
|
||||
git diff --name-only --diff-filter=ACMRT HEAD~1 HEAD | grep '.inc.qhelp$' | xargs -d '\n' -rn1 basename | xargs -d '\n' -rn1 git grep -l) |
|
||||
sort -u > "${{ runner.temp }}/paths.txt"
|
||||
|
||||
- uses: ./.github/actions/fetch-codeql
|
||||
|
||||
- name: QHelp preview
|
||||
run: |
|
||||
if [ -s "${{ runner.temp }}/paths.txt" ]; then
|
||||
|
||||
Reference in New Issue
Block a user