55jobs :
66 release_notes_docs_cloud_latest :
77 name : Release notes cloud with latest version
8- runs-on : ubuntu-22 .04
8+ runs-on : ubuntu-24 .04
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v4
11+ uses : actions/checkout@v6
1212 with :
13- token : ${{ secrets.RELEASEDRAFTER_PAT }}
13+ token : ${{ secrets.GH_ACCESS_TOKEN }}
1414 repository : layer5io/docs
15- - name : Get Latest Meshery Cloud Release
15+ - name : Get Latest Cloud Release
1616 id : meshery-cloud
1717 env :
18- ACCESS_TOKEN : ${{ secrets.RELEASEDRAFTER_PAT }}
18+ ACCESS_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
1919 run : |
2020 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")
2121 echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
2424 - name : Get Release Info
2525 if : steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
2626 env :
27- ACCESS_TOKEN : ${{ secrets.RELEASEDRAFTER_PAT }}
27+ ACCESS_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
2828 run : |
2929 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
3030
@@ -41,10 +41,10 @@ jobs:
4141 if : steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
4242 uses : stefanzweifel/git-auto-commit-action@v5
4343 with :
44- commit_message : " Release Notes Meshery Cloud version ${{ steps.meshery-cloud.outputs.release_tag }}"
44+ commit_message : " Release Notes Cloud version ${{ steps.meshery-cloud.outputs.release_tag }}"
4545 branch : master
4646 commit_options : " --signoff"
4747 file_pattern : ' build/meshery-cloud.version ./content/en/cloud/reference/releases/${{ steps.meshery-cloud.outputs.release_tag }}.md'
4848 commit_user_name : l5io
4949 commit_user_email :
[email protected] 50- commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
50+ commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
0 commit comments