Skip to content

Commit 6cabcfe

Browse files
committed
feat: renovate to automate version update
1 parent 6b4378a commit 6cabcfe

7 files changed

Lines changed: 4443 additions & 391 deletions

File tree

β€Ž.github/workflows/test.ymlβ€Ž

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
name: Run Tests
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [20.x]
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Run tests
34+
run: npm test
35+
36+
- name: Build
37+
run: npm run build
38+

β€ŽRELEASE_NOTES.mdβ€Ž

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Release v1.0.0
2+
3+
## πŸŽ‰ Initial Release
4+
5+
We're excited to announce the first release of **setup-sstart-env**, a GitHub Action that seamlessly integrates [sstart](https://github.com/dirathea/sstart) into your GitHub Actions workflows.
6+
7+
## ✨ Features
8+
9+
- **Secure Secret Loading**: Leverages sstart to securely load secrets from multiple providers (AWS Secrets Manager, 1Password, etc.) for use in your GitHub Actions workflows
10+
11+
## πŸš€ What's New
12+
13+
This action simplifies the process of fetching secrets from external sources (like AWS Secrets Manager, 1Password, etc.) and making them available in your GitHub workflows. No more manual setup or complex shell scripts!
14+
15+
## πŸ“– Quick Start
16+
17+
```yaml
18+
- name: Fetch external secrets with sstart
19+
uses: dirathea/setup-sstart-env@v1
20+
env:
21+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
22+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
23+
AWS_REGION: us-east-1
24+
with:
25+
config: |
26+
providers:
27+
- kind: aws_secretsmanager
28+
secret_id: myapp/production
29+
30+
- name: Use fetched secrets
31+
run: |
32+
echo "Database URL: $DATABASE_URL"
33+
echo "API Key: $API_KEY"
34+
```
35+
36+
## πŸ”§ Key Capabilities
37+
38+
- **Seamless Integration**: Fetched secrets are automatically available as environment variables in all subsequent workflow steps
39+
40+
## πŸ“š Documentation
41+
42+
For detailed usage examples and configuration options, see the [README.md](README.md).
43+
44+
## πŸ”— Links
45+
46+
- [Repository](https://github.com/dirathea/setup-sstart-env)
47+
- [sstart Documentation](https://github.com/dirathea/sstart)
48+
- [Issues](https://github.com/dirathea/setup-sstart-env/issues)
49+
50+
## πŸ™ Thank You
51+
52+
Thank you for using setup-sstart-env! We hope this makes managing secrets in your GitHub Actions workflows easier and more secure.
53+

β€Žjest.config.jsβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export default {
2+
testEnvironment: 'node',
3+
transform: {},
4+
moduleNameMapper: {
5+
'^(\\.{1,2}/.*)\\.js$': '$1',
6+
},
7+
testMatch: ['**/*.test.js'],
8+
collectCoverageFrom: [
9+
'src/**/*.js',
10+
'!src/**/*.test.js',
11+
],
12+
};
13+

0 commit comments

Comments
Β (0)