mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 06:47:03 +03:00
e132d3d52c
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# synced from @nextcloud/android-config
|
|
name: Scorecard supply-chain security
|
|
on:
|
|
branch_protection_rule:
|
|
schedule:
|
|
- cron: '32 23 * * 4'
|
|
push:
|
|
branches: [ "main", "master" ]
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
analysis:
|
|
name: Scorecard analysis
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
# Needed to upload the results to code-scanning dashboard.
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
|
|
with:
|
|
results_file: results.sarif
|
|
results_format: sarif
|
|
publish_results: false
|
|
|
|
# Upload the results to GitHub's code scanning dashboard.
|
|
- name: "Upload to code-scanning"
|
|
uses: github/codeql-action/upload-sarif@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
|
|
with:
|
|
sarif_file: results.sarif
|