Skip to content

Commit ed4ad4b

Browse files
committed
Add qcom-preflight-checks
Signed-off-by: Neeraj Jetha <[email protected]>
1 parent e3ec787 commit ed4ad4b

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

.github/dependabots.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: "/" # This points to .github/workflows
10+
schedule:
11+
interval: "daily"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Qualcomm Preflight Checks
2+
on:
3+
pull_request_target:
4+
branches: [ "main" ]
5+
push:
6+
branches: [ "main" ]
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
security-events: write
12+
13+
jobs:
14+
qcom-preflight-checks:
15+
uses: qualcomm/qcom-reusable-workflows/.github/workflows/[email protected]
16+
with:
17+
# ✅ Preflight Checkers
18+
repolinter: true # default: true
19+
semgrep: true # default: true
20+
copyright-license-detector: true # default: true
21+
pr-check-emails: true # default: true
22+
dependency-review: true # default: true
23+
secrets:
24+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Comment on Stale Issues
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
# don't run cron from forks of the main repository or from other branches
9+
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/stale@v9
13+
with:
14+
days-before-close: -1
15+
days-before-issue-stale: 30
16+
days-before-pr-stale: 30
17+
stale-pr-message: "This PR is stale. Add a nice message, can mention maintainers or maintainer team to draw attention"
18+
stale-issue-message: "This issue is stale. Add a nice message, can mention maintainers or maintainer team to draw attention"
19+

0 commit comments

Comments
 (0)