Skip to content

v1.0.7

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jan 11:19
· 1 commit to main since this release
ed79b6e

🩹[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.