Skip to content

Commit 962ab82

Browse files
Added qcom-preflight-check workflow & dependabots (#191)
## Summary **qcom-preflight-checks.yml** This workflow runs several preflight checks, including copyight, email, repolinter, and security checks. See [qualcomm/qcom-actions](https://github.com/qualcomm/qcom-actions) Deleted .github/workflows/quic-organization-repolinter.yml because it is already persent in qcom-preflight-check.yml file **stale-issues.yaml** This workflow will periodically run every 30 days to check for stalled issues and PRs. If the workflow detects any stalled issues and/or PRs, it will automatically leave just a comment to draw attention.
2 parents 57f7e64 + 4ffc538 commit 962ab82

File tree

4 files changed

+59
-35
lines changed

4 files changed

+59
-35
lines changed

.github/dependabots.yaml

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: [ development ]
5+
push:
6+
branches: [ development ]
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/qcom-preflight-checks-reusable-workflow.yml@v1.1.4
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 }}

.github/workflows/quic-organization-repolinter.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Close stale issues and pull requests with no recent activity'
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
stale-issue-message: 'This issue has been marked as stale due to 60 days of inactivity. To prevent automatic closure in 10 days, remove the stale label or add a comment. You can reopen a closed issue at any time.'
17+
stale-pr-message: 'This pull request has been marked as stale due to 60 days of inactivity. To prevent automatic closure in 10 days, remove the stale label or add a comment. You can reopen a closed pull request at any time.'
18+
exempt-issue-labels: bug,enhancement
19+
exempt-pr-labels: bug,enhancement
20+
days-before-stale: 60
21+
days-before-close: 10
22+
remove-stale-when-updated: true
23+
remove-issue-stale-when-updated: true
24+
remove-pr-stale-when-updated: true

0 commit comments

Comments
 (0)