mirror of
https://github.com/github/codeql.git
synced 2025-12-27 22:26:31 +01:00
Merge pull request #80 from github/list_files
Add models for list-files actions
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/WyriHaximus/github-action-files-in-commit
|
||||
- ["WyriHaximus/github-action-files-in-commit", "*", "output.files", "filename", "manual"]
|
||||
|
||||
|
||||
10
ql/lib/ext/manual/ab185508_file-type-finder.model.yml
Normal file
10
ql/lib/ext/manual/ab185508_file-type-finder.model.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/ab185508/file-type-finder
|
||||
- ["ab185508/file-type-finder", "*", "output.paths", "filename", "manual"]
|
||||
- ["ab185508/file-type-finder", "*", "output.names", "filename", "manual"]
|
||||
- ["ab185508/file-type-finder", "*", "output.extaddpaths", "filename", "manual"]
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/ankitjain28may/list-files-in-pr
|
||||
- ["ankitjain28may/list-files-in-pr", "*", "output.pullRequestFiles", "filename", "manual"]
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/AvraamMavridis/files-changed-action
|
||||
- ["AvraamMavridis/files-changed-action", "*", "output.CHANGED_FILES", "filename", "manual"]
|
||||
- ["AvraamMavridis/files-changed-action", "*", "output.CHANGED_FILES_EXTENSIONS", "filename", "manual"]
|
||||
|
||||
|
||||
12
ql/lib/ext/manual/jsmith_changes-since-last-tag.model.yml
Normal file
12
ql/lib/ext/manual/jsmith_changes-since-last-tag.model.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/jsmith/changes-since-last-tag
|
||||
- ["jsmith/changes-since-last-tag", "*", "output.files", "filename", "manual"]
|
||||
- ["jsmith/changes-since-last-tag", "*", "output.added", "filename", "manual"]
|
||||
- ["jsmith/changes-since-last-tag", "*", "output.modified", "filename", "manual"]
|
||||
- ["jsmith/changes-since-last-tag", "*", "output.removed", "filename", "manual"]
|
||||
- ["jsmith/changes-since-last-tag", "*", "output.renamed", "filename", "manual"]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/karpikpl/list-changed-files-action
|
||||
- ["karpikpl/list-changed-files-action", "*", "output.changed_files", "filename", "manual"]
|
||||
11
ql/lib/ext/manual/knu_changed-files.model.yml
Normal file
11
ql/lib/ext/manual/knu_changed-files.model.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/knu/changed-files
|
||||
- ["knu/changed-files", "*", "output.changed_files", "filename", "manual"]
|
||||
- ["knu/changed-files", "*", "output.changed_files_json", "filename", "manual"]
|
||||
- ["knu/changed-files", "*", "output.matched_files", "filename", "manual"]
|
||||
- ["knu/changed-files", "*", "output.matched_files_json", "filename", "manual"]
|
||||
8
ql/lib/ext/manual/martinhaintz_ga-file-list.model.yml
Normal file
8
ql/lib/ext/manual/martinhaintz_ga-file-list.model.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/martinhaintz/ga-file-list
|
||||
- ["martinhaintz/ga-file-list", "*", "output.files", "filename", "manual"]
|
||||
- ["martinhaintz/ga-file-list", "*", "output.file_names", "filename", "manual"]
|
||||
@@ -0,0 +1,9 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/Rishabh510/Path-lister-action
|
||||
- ["Rishabh510/Path-lister-action", "*", "output.paths", "filename", "manual"]
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/the-coding-turtle/ga-file-list
|
||||
- ["the-coding-turtle/ga-file-list", "*", "output.files", "filename", "manual"]
|
||||
- ["the-coding-turtle/ga-file-list", "*", "output.file_names", "filename", "manual"]
|
||||
8
ql/lib/ext/manual/w3f_action-find-old-files.model.yml
Normal file
8
ql/lib/ext/manual/w3f_action-find-old-files.model.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/w3f/action-find-old-files
|
||||
- ["w3f/action-find-old-files", "*", "output.files", "filename", "manual"]
|
||||
|
||||
9
ql/lib/ext/manual/yumemi-inc_changed-files.model.yml
Normal file
9
ql/lib/ext/manual/yumemi-inc_changed-files.model.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: github/actions-all
|
||||
extensible: actionsSourceModel
|
||||
data:
|
||||
# https://github.com/yumemi-inc/changed-files
|
||||
- ["yumemi-inc/changed-files", "*", "output.files", "filename", "manual"]
|
||||
|
||||
|
||||
@@ -1327,10 +1327,18 @@ scopes
|
||||
| .github/workflows/poisonable_steps.yml:1:1:46:111 | on: push |
|
||||
| .github/workflows/test.yml:1:1:40:53 | on: push |
|
||||
sources
|
||||
| AvraamMavridis/files-changed-action | * | output.CHANGED_FILES | filename | manual |
|
||||
| AvraamMavridis/files-changed-action | * | output.CHANGED_FILES_EXTENSIONS | filename | manual |
|
||||
| Rishabh510/Path-lister-action | * | output.paths | filename | manual |
|
||||
| WyriHaximus/github-action-files-in-commit | * | output.files | filename | manual |
|
||||
| ab185508/file-type-finder | * | output.extaddpaths | filename | manual |
|
||||
| ab185508/file-type-finder | * | output.names | filename | manual |
|
||||
| ab185508/file-type-finder | * | output.paths | filename | manual |
|
||||
| ahmadnassri/action-changed-files | * | output.files | filename | manual |
|
||||
| ahmadnassri/action-changed-files | * | output.json | json | manual |
|
||||
| alessbell/pull-request-comment-branch | * | output.head_ref | branch | manual |
|
||||
| amannn/action-semantic-pull-request | * | output.error_message | text | manual |
|
||||
| ankitjain28may/list-files-in-pr | * | output.pullRequestFiles | filename | manual |
|
||||
| cypress-io/github-action | * | env.GH_BRANCH | branch | manual |
|
||||
| dawidd6/action-download-artifact | * | output.artifacts | artifact | manual |
|
||||
| eficode/resolve-pr-refs | * | output.head_ref | branch | manual |
|
||||
@@ -1345,16 +1353,30 @@ sources
|
||||
| jitterbit/get-changed-files | * | output.modified | filename | manual |
|
||||
| jitterbit/get-changed-files | * | output.removed | filename | manual |
|
||||
| jitterbit/get-changed-files | * | output.renamed | filename | manual |
|
||||
| jsmith/changes-since-last-tag | * | output.added | filename | manual |
|
||||
| jsmith/changes-since-last-tag | * | output.files | filename | manual |
|
||||
| jsmith/changes-since-last-tag | * | output.modified | filename | manual |
|
||||
| jsmith/changes-since-last-tag | * | output.removed | filename | manual |
|
||||
| jsmith/changes-since-last-tag | * | output.renamed | filename | manual |
|
||||
| karpikpl/list-changed-files-action | * | output.changed_files | filename | manual |
|
||||
| khan/pull-request-comment-trigger | * | output.comment_body | text | manual |
|
||||
| knu/changed-files | * | output.changed_files | filename | manual |
|
||||
| knu/changed-files | * | output.changed_files_json | filename | manual |
|
||||
| knu/changed-files | * | output.matched_files | filename | manual |
|
||||
| knu/changed-files | * | output.matched_files_json | filename | manual |
|
||||
| lots0logs/gh-action-get-changed-files | * | output.added | PR changed files | manual |
|
||||
| lots0logs/gh-action-get-changed-files | * | output.all | PR changed files | manual |
|
||||
| lots0logs/gh-action-get-changed-files | * | output.modified | PR changed files | manual |
|
||||
| lots0logs/gh-action-get-changed-files | * | output.renamed | PR changed files | manual |
|
||||
| marocchino/on_artifact | * | output.* | artifact | manual |
|
||||
| martinhaintz/ga-file-list | * | output.file_names | filename | manual |
|
||||
| martinhaintz/ga-file-list | * | output.files | filename | manual |
|
||||
| peter-murray/issue-body-parser-action | * | output.* | text | manual |
|
||||
| potiuk/get-workflow-origin | * | output.sourceHeadBranch | branch | manual |
|
||||
| puppeteer/puppeteer/.github/workflows/changed-packages.yml | * | output.changes | filename | manual |
|
||||
| redhat-plumbers-in-action/download-artifact | * | output.* | artifact | manual |
|
||||
| the-coding-turtle/ga-file-list | * | output.file_names | filename | manual |
|
||||
| the-coding-turtle/ga-file-list | * | output.files | filename | manual |
|
||||
| tj-actions/branch-names | * | output.current_branch | branch | manual |
|
||||
| tj-actions/branch-names | * | output.head_ref_branch | branch | manual |
|
||||
| trilom/file-changes-action | * | output.files | filename | manual |
|
||||
@@ -1362,7 +1384,9 @@ sources
|
||||
| trilom/file-changes-action | * | output.files_modified | filename | manual |
|
||||
| trilom/file-changes-action | * | output.files_removed | filename | manual |
|
||||
| tzkhan/pr-update-action | * | output.headMatch | branch | manual |
|
||||
| w3f/action-find-old-files | * | output.files | filename | manual |
|
||||
| xt0rted/pull-request-comment-branch | * | output.head_ref | branch | manual |
|
||||
| yumemi-inc/changed-files | * | output.files | filename | manual |
|
||||
summaries
|
||||
| ActionsTools/read-json-action | * | artifact | output.* | taint | manual |
|
||||
| BrycensRanch/read-properties-action | * | artifact | output.* | taint | manual |
|
||||
|
||||
29
ql/test/query-tests/Security/CWE-094/.github/workflows/matrix_flow.yml
vendored
Normal file
29
ql/test/query-tests/Security/CWE-094/.github/workflows/matrix_flow.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Matrix Flow
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
lookup:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix: ${{ steps.filelist.outputs.file_names }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get all zip files
|
||||
id: filelist
|
||||
uses: the-coding-turtle/ga-file-list@v0.1
|
||||
with:
|
||||
directory: "."
|
||||
file_extension: "zip"
|
||||
|
||||
multi_tenant:
|
||||
needs: lookup
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
tenant: ${{fromJson(needs.lookup.outputs.matrix)}}
|
||||
steps:
|
||||
- name: Show all files
|
||||
run: |
|
||||
echo "this is file: ${{ matrix.TENANT }}"
|
||||
Reference in New Issue
Block a user