-
Notifications
You must be signed in to change notification settings - Fork 0
Automate release management with GitHub Actions #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add automated deletion of old releases and tags using GitHub Actions. * **README.md**: - Add a section about the automated deletion of old releases and tags. - Mention the new workflow file `.github/workflows/delete-old-releases.yaml`. * **.github/workflows/delete-old-releases.yaml**: - Create a new GitHub Actions workflow file to delete old releases and tags. - Use a third-party GitHub Action to delete old releases. - Schedule the workflow to run periodically. * **.github/workflows/generate-release-notes.yaml**: - Create a new GitHub Actions workflow file to generate release notes. - Use a GitHub Action to generate release notes based on commit messages and pull requests. - Configure the action to run whenever a new release is created. * **.github/workflows/automated-tagging-versioning.yaml**: - Create a new GitHub Actions workflow file to automate tagging and versioning. - Implement a GitHub Action to automatically tag and version releases based on commit messages. - Use semantic versioning to ensure meaningful and consistent version numbers. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Githubguy132010/Arch-Linux-without-the-beeps?shareId=XXXX-XXXX-XXXX-XXXX).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| node-version: '14' | ||
|
|
Copilot
AI
Feb 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Node.js version is set to 14, which may no longer be supported in production environments; consider updating to a more recent LTS version (e.g., 16 or later) to ensure compatibility and security.
| node-version: '14' | |
| node-version: '16' |
| run: | | ||
| echo "Release notes generated successfully" |
Copilot
AI
Feb 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'Create Release Notes' step currently only echoes a success message without actually creating or publishing the release notes; consider implementing the functionality to output or save the generated release notes.
| run: | | |
| echo "Release notes generated successfully" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| RELEASE_NOTES=$(cat release-drafter.yml) | |
| curl -X POST \ | |
| -H "Authorization: token $GITHUB_TOKEN" \ | |
| -H "Content-Type: application/json" \ | |
| -d "{\"tag_name\": \"v1.0.0\", \"name\": \"Release v1.0.0\", \"body\": \"$RELEASE_NOTES\"}" \ | |
| https://api.github.com/repos/${{ github.repository }}/releases |
Add automated deletion of old releases and tags using GitHub Actions.
README.md:
.github/workflows/delete-old-releases.yaml..github/workflows/delete-old-releases.yaml:
.github/workflows/generate-release-notes.yaml:
.github/workflows/automated-tagging-versioning.yaml:
For more details, open the Copilot Workspace session.