Skip to content

Commit

Permalink
Updates auto release notes workflow to fetch notes from main (#3522)
Browse files Browse the repository at this point in the history
### Description
Before this change release notes workflow required release notes to be
present in tag, with this change release notes will not need to be
backported. They can be but will not need to be.



### Check List
~- [ ] New functionality includes testing~
~- [ ] New functionality has been documented~
- [x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
  • Loading branch information
DarshitChanpura committed Oct 12, 2023
1 parent 63968fe commit c285e87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ jobs:
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v4
- name: Download release notes
run: |
curl -s -o release-notes.md https://raw.githubusercontent.com/opensearch-project/security/main/release-notes/opensearch-security.release-notes-${{ steps.tag.outputs.tag }}.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ncipollo/release-action@v1
with:
github_token: ${{ steps.github_app_token.outputs.token }}
bodyFile: release-notes/opensearch-security.release-notes-${{steps.tag.outputs.tag}}.md
bodyFile: release-notes.md

0 comments on commit c285e87

Please sign in to comment.