uses: zhengbangbo/update-repository-description@v1.0.0
with:
repo-token: ${{ secrets.MY_TOKEN }}
Note
- Creat PAT(Personal access token) and set
actions secrets
of repository.- If
repo-token
usesecrets.GITHUB_TOKEN
orgithub.token
, throwError: Resource not accessible by integration
. Like this job. Because the API requested in the program is Administration Scope1. And this scope is not in the default permissions of GITHUB_TOKEN2.
MIT