Add a scarecrow project to test GitHub issue filing/closing (#7437)

* Add a scarecrow project to test github issue filing/closing

* Add file_github_issue as a new valid section name
This commit is contained in:
Dongge Liu 2022-03-29 08:59:43 +11:00 committed by GitHub
parent c462cad1be
commit 090c5fc586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 0 deletions

View File

@ -100,6 +100,7 @@ class ProjectYamlChecker:
'selective_unpack',
'vendor_ccs',
'view_restrictions',
'file_github_issue',
]
# Note that some projects like boost only have auto-ccs. However, forgetting

View File

@ -0,0 +1,21 @@
# Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN git clone --depth 1 https://github.com/Alan32Liu/github-scarecrow.git $SRC/github-scarecrow
WORKDIR $SRC/github-scarecrow
COPY build.sh $SRC/

View File

@ -0,0 +1,20 @@
#!/bin/bash -eu
# Copyright 2022 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
$CXX $CXXFLAGS -std=c++11 -Ilib/ \
$SRC/github-scarecrow/scarecrow.cc -o $OUT/scarecrow \
$LIB_FUZZING_ENGINE

View File

@ -0,0 +1,7 @@
homepage: 'https://github.com/Alan32Liu/github-scarecrow'
primary_contact: 'donggeliu@google.com'
language: c++
sanitizers:
- address
main_repo: 'https://github.com/Alan32Liu/github-scarecrow'
file_github_issue: True