Skip to content

Commit 8a9f68f

Browse files
authored
Change access token in meshery extension release workflow
Updated GitHub Actions workflow to use GH_ACCESS_TOKEN instead of RELEASEDRAFTER_PAT for authentication. Signed-off-by: Aabid Sofi <[email protected]>
1 parent 79de835 commit 8a9f68f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/meshery-extension-release-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212
with:
13-
token: ${{ secrets.RELEASEDRAFTER_PAT }}
13+
token: ${{ secrets.GH_ACCESS_TOKEN }}
1414
repository: layer5io/docs
1515
- name: Get Latest Meshery Extensions Release
1616
id: meshery-extensions
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/layer5labs/meshery-extensions-packages/releases/latest | jq -r ".tag_name")
2121
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
@@ -24,7 +24,7 @@ jobs:
2424
- name: Get Release Info
2525
if: steps.meshery-extensions.outputs.current_tag != steps.meshery-extensions.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/layer5labs/meshery-extensions-packages/releases/latest > latest_release.json
3030
@@ -47,4 +47,4 @@ jobs:
4747
file_pattern: 'build/meshery-extensions.version ./content/en/kanvas/reference/releases/${{ steps.meshery-extensions.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

Comments
 (0)