Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request involves several updates to the GitHub workflows and related files to improve automation, security, and maintenance. The major changes include updating the Dependabot schedule, adding new workflows for approving Dependabot PRs, auto-assigning issues and PRs, scanning code, and checking semantic versioning. It also introduces a changelog in the release workflow and modifies the action to get the current git tag.
Changes to Dependabot and release workflows:
.github/dependabot.yml
: Updated the schedule for Dependabot to check updates from daily at 04:00 to monthly at 19:00 for both npm and GitHub Actions ecosystems..github/release.yml
: Introduced a changelog with categories for improvements, dependency updates, and other changes.New workflows:
.github/workflows/approve-dependabot-pr.yml
: Added a new workflow to automatically approve Dependabot PRs..github/workflows/auto-assign.yml
: Added a new workflow to auto-assign issues and PRs to a specific user..github/workflows/codeql.yml
: Added a new workflow to scan code using CodeQL..github/workflows/ossf-analysis.yml
: Added a new workflow to perform a supply-chain security scan using Scorecards..github/workflows/semver-check.yml
: Added a new workflow to check semantic versioning.Changes to existing workflows:
.github/workflows/publishing.yml
: Added a workflow to publish the action to the marketplace, triggered on push events matching 'v*'..github/workflows/test.yml
: Updated the testing workflow with more test cases and error handling.Changes to action and documentation:
action.yml
: Updated the action to get the current git tag, added an option to set a default version, and updated the runtime to Node.js 16.main.js
: Modified the main function to handle the case when the ref is not a tag and a default version is set.README.md
: Updated the documentation to reflect the changes in the action and usage. [1] [2]package.json
: Updated the@actions/core
dependency to version 1.10.1.