[Docs] Test status of adapter #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Drafter | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '.github/**' | |
jobs: | |
update_release_draft: | |
if: github.repository == 'meshery/meshery' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Drafting release | |
id: release_drafter | |
uses: release-drafter/release-drafter@v5 | |
with: | |
config-name: release-drafter.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASEDRAFTER_PAT }} | |
# - name: Checkout | |
# uses: actions/checkout@master | |
# - name: Write release notes to markdown file | |
# run: | | |
# echo "Tag: " ${{ steps.release_drafter.outputs.tag_name }} | |
# printf '%b\n' "---\nlayout: release\ndate: $(date +'%Y-%m-%d')\ntag: ${{ steps.release_drafter.outputs.tag_name }}\n---\n\n${{ steps.release_drafter.outputs.body }} " > ./docs/_releases/${{ steps.release_drafter.outputs.tag_name }}.md | |
# - name: Create Pull Request | |
# id: cpr | |
# uses: peter-evans/create-pull-request@v3 | |
# with: | |
# token: ${{ secrets.RELEASEDRAFTER_PAT }} | |
# commit-message: "Created release note file ${{ steps.release_drafter.outputs.tag_name }}.md" | |
# committer: l5io <[email protected]> | |
# author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
# signoff: true | |
# branch: docs/automated-release-notes | |
# base: master | |
# title: '[Docs] Release Notes for Meshery ${{ steps.release_drafter.outputs.tag_name }}' | |
# body: | | |
# An auto-generated pull request to document release notes for Meshery ${{ steps.release_drafter.outputs.tag_name }} | |
# labels: | | |
# area/ci | |
# kind/chore | |
# # assignees: | |
# # reviewers: | |
# team-reviewers: | | |
# release-team | |
# maintainers | |
# # milestone: 1 | |
# draft: true | |
# - name: Verify PR | |
# run: | | |
# echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
# echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |