Commit ed79b6e
authored
🩹[Patch]: Workflow improvements (#9)
This release updates and improves several aspects of the project's
GitHub Actions workflows and related configuration files. The main
changes include refactoring the release workflow for clarity and
security, updating dependencies and action versions to use specific
commit SHAs, and cleaning up unused or redundant configuration files.
**Workflow and CI/CD Improvements:**
* Renamed `.github/workflows/Auto-Release.yml` to
`.github/workflows/Release.yml`, updated its trigger to `pull_request`
(instead of `pull_request_target`), restricted its scope to changes in
`action.yml` and `src/**`, and changed the main job and step names from
`Auto-Release` to `Release`. Also replaced the action used for releases
to
`PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a`
and updated the checkout action to a specific SHA with credentials
disabled for improved security.
* Updated the `Action-Test` and `Linter` workflows to use specific
commit SHAs for the `actions/checkout` and `super-linter/super-linter`
actions, and set `persist-credentials: false` for security. Also, in the
`Linter` workflow, disabled some validators and set additional
environment variables.
**Dependency and Automation Configuration:**
* Changed the Dependabot update schedule from weekly to daily and added
a cooldown period of 7 days between updates.
**Configuration Cleanup:**
* Removed the `.github/linters/.jscpd.json` file, which is no longer
needed.
* Removed the `.github/release.yml` configuration for automatically
generated release notes, as this is now handled by the updated release
workflow.
**Other Notable Changes:**
* Updated the `action.yml` to reference the new script location at
`src/main.ps1` instead of `scripts/main.ps1`.1 parent d60d63e commit ed79b6e
File tree
11 files changed
+24
-41
lines changed- .github
- linters
- workflows
- src
- Helpers
11 files changed
+24
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | | - | |
32 | | - | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments