Skip to content

Commit

Permalink
- Apply release version to newly used GH action.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Nov 19, 2024
1 parent 51f3d35 commit e3abbfc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_pr_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python-version: '3.11'

- name: Check presence of release notes in PR description
uses: AbsaOSS/release-notes-presence-check@feature/2-Implement-basic-logic-for-Release-notes-located-in-PR-body
uses: AbsaOSS/release-notes-presence-check@v0.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
28 changes: 27 additions & 1 deletion .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,40 @@ jobs:

- name: Check format of received tag
id: check-version-tag
uses: AbsaOSS/version-tag-check@feature/3-Implement-check-logic-without-qualifiers-support
uses: AbsaOSS/version-tag-check@v0.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
github-repository: ${{ github.repository }}
branch: 'master'
version-tag: ${{ github.event.inputs.tag-name }}

- name: Generate Release Notes
id: generate_release_notes
uses: AbsaOSS/generate-release-notes@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-name: ${{ github.event.inputs.tag-name }}
chapters: '[
{"title": "No entry 🚫", "label": "duplicate"},
{"title": "No entry 🚫", "label": "invalid"},
{"title": "No entry 🚫", "label": "wontfix"},
{"title": "No entry 🚫", "label": "no RN"},
{"title": "Breaking Changes 💥", "label": "breaking-change"},
{"title": "New Features 🎉", "label": "enhancement"},
{"title": "New Features 🎉", "label": "feature"},
{"title": "Bugfixes 🛠", "label": "bug"},
{"title": "Infrastructure ⚙️", "label": "infrastructure"},
{"title": "Silent-live 🤫", "label": "silent-live"},
{"title": "Documentation 📜", "label": "documentation"}
]'
skip-release-notes-label: 'no RN'
verbose: true

warnings: true
print-empty-chapters: true

- name: Create and Push Tag
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit e3abbfc

Please sign in to comment.