fix: trying to fix missing permissions for R.U.

[skip changelog]
This commit is contained in:
Constrat
2024-07-23 16:56:38 +02:00
parent 48da772eae
commit c0664245f9

View File

@@ -119,7 +119,7 @@ jobs:
id: user_info
uses: actions/github-script@v7
with:
github-token: ${{ secrets.MAA_RESOURCE_SYNC }}
github-token: ${{ secrets.MISTEOWORKFLOW }}
script: |
const { data: user } = await github.rest.users.getAuthenticated();
const { data: public_email } = await github.rest.users.listPublicEmailsForAuthenticatedUser();