chore(ci): improve repository maintenance configuration

- Enable weekly Dependabot updates for GitHub Actions dependencies
- Consolidate duplicate Trivy scans into a single SARIF scan with exit-code gate
- Ignore macOS metadata and locally downloaded drone-ssh binaries
- Add feature request issue template and pull request checklist template

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
master
Bo-Yi Wu 3 days ago
parent 6f15e4fabc
commit c4f70287fc
No known key found for this signature in database

@ -0,0 +1,36 @@
---
name: Feature request
about: Suggest an idea for this action
title: ""
labels: enhancement
assignees: appleboy
---
## Is your feature request related to a problem?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Example Yaml Config
If applicable, show how you would expect to use the new feature:
```yaml
- name: executing remote ssh commands
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: whoami
```
## Additional context
Add any other context about the feature request here. Note that SSH connection
behavior (ciphers, timeouts, proxy, etc.) is implemented in
[drone-ssh](https://github.com/appleboy/drone-ssh) - feature requests for
connection behavior may belong there.

@ -0,0 +1,14 @@
## Description
Please describe what this PR changes and why.
## Related Issues
Fixes #
## Checklist
- [ ] Tests pass (`.github/workflows/main.yml` scenarios cover this change)
- [ ] `action.yml` input descriptions updated (if adding/changing parameters)
- [ ] README.md parameter tables updated (if adding/changing parameters)
- [ ] Chinese translations updated (README.zh-cn.md, README.zh-tw.md)

@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
commit-message:
prefix: "chore(ci)"

@ -33,19 +33,10 @@ jobs:
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH,MEDIUM'
exit-code: '1'
- name: Upload Trivy results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v4
if: always()
with:
sarif_file: 'trivy-results.sarif'
- name: Run Trivy vulnerability scanner (table format)
uses: aquasecurity/trivy-action@v0.36.0
with:
scan-type: 'fs'
scan-ref: '.'
scanners: 'vuln,secret,misconfig'
format: 'table'
severity: 'CRITICAL,HIGH,MEDIUM'
exit-code: '1'

6
.gitignore vendored

@ -0,0 +1,6 @@
# macOS
.DS_Store
# drone-ssh binaries downloaded by entrypoint.sh during local testing
drone-ssh-*
checksums.txt
Loading…
Cancel
Save