lvjiaxuan / update-repository-description

Github action for update description on repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Repository Description

.github/workflows/main.yml

Usage

uses: zhengbangbo/update-repository-description@v1.0.0
with:
  repo-token: ${{ secrets.MY_TOKEN }}

Note

  1. Creat PAT(Personal access token) and set actions secrets of repository.
  2. If repo-token use secrets.GITHUB_TOKEN or github.token, throw Error: 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.

License

MIT

Footnotes

  1. administration scope - GitHub Docs

  2. Permissions for the GITHUB_TOKEN - GitHub Docs

About

Github action for update description on repository.

License:MIT License


Languages

Language:JavaScript 93.2%Language:Shell 6.8%