Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# From https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#creating-automatically-generated-release-notes-for-a-new-release
changelog:
categories:
- title: 🐛 Fixes / 🚀 Enhancements
labels:
- '*'
exclude:
labels:
- dependencies
- title: 👒 Project Dependencies
labels:
- dependencies
- java
- title: 👒 CI Dependencies
labels:
- dependencies
- github_actions
2 changes: 2 additions & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ jobs:
env:
# Use the standard GITHUB_TOKEN or a Custom PAT if pushing to other repos
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create the GH Release
run: gh release create --generate-notes
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I genuinely have no idea if the current permissions are enough to be able to run a gh release. Google is being useless. Let's run it and see and adjust as needed.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# shared-github-actions
Repository to store workflows (and other stuff) that we'll re-use in other PNC repositories

A sample `release.yml` configuration file from the [GitHub documentation](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes) has been added to `.github/release.yml` - this can be copied to each relevant repository.