mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-08-21 16:13:04 +01:00
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>
This commit is contained in:
36
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
36
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -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.
|
||||
14
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
14
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -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)
|
||||
10
.github/dependabot.yml
vendored
Normal file
10
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
labels:
|
||||
- "dependencies"
|
||||
commit-message:
|
||||
prefix: "chore(ci)"
|
||||
11
.github/workflows/trivy-scan.yml
vendored
11
.github/workflows/trivy-scan.yml
vendored
@@ -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
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# macOS
|
||||
.DS_Store
|
||||
|
||||
# drone-ssh binaries downloaded by entrypoint.sh during local testing
|
||||
drone-ssh-*
|
||||
checksums.txt
|
||||
Reference in New Issue
Block a user