Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/cloud-release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:
jobs:
release_notes_docs_cloud_latest:
name: Release notes cloud with latest version
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
token: ${{ secrets.GH_ACCESS_TOKEN }}
repository: layer5io/docs
- name: Get Latest Meshery Cloud Release
- name: Get Latest Cloud Release
id: meshery-cloud
env:
ACCESS_TOKEN: ${{ secrets.RELEASEDRAFTER_PAT }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
release_tag=$(curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5io/meshery-cloud/releases/latest | jq -r ".tag_name")
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Get Release Info
if: steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
env:
ACCESS_TOKEN: ${{ secrets.RELEASEDRAFTER_PAT }}
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5io/meshery-cloud/releases/latest > latest_release.json

Expand All @@ -41,10 +41,10 @@ jobs:
if: steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Release Notes Meshery Cloud version ${{ steps.meshery-cloud.outputs.release_tag }}"
commit_message: "Release Notes Cloud version ${{ steps.meshery-cloud.outputs.release_tag }}"
branch: master
commit_options: "--signoff"
file_pattern: 'build/meshery-cloud.version ./content/en/cloud/reference/releases/${{ steps.meshery-cloud.outputs.release_tag }}.md'
commit_user_name: l5io
commit_user_email: ci@layer5.io
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>