Introduce hash-database action

This commit is contained in:
Esben Sparre Andreasen
2020-12-09 22:59:54 +01:00
parent 8cbc02a4c2
commit b4d4b0b74a
4 changed files with 199 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: 'CodeQL: Hash Database'
description: 'Hashes the built database, using a stable hash'
author: 'GitHub'
inputs:
token:
default: ${{ github.token }}
matrix:
default: ${{ toJson(matrix) }}
threads:
description: The number of threads to be used by CodeQL.
required: false
default: 1 # a surgical way of forcing all `util.getThreadsFlag(...)` to resolve to 1 for our purposes
outputs:
hash:
description: the stable hash of the database
runs:
using: 'node12'
main: '../lib/hash-database-action.js'