Skip to content

Commit

Permalink
feat: update description
Browse files Browse the repository at this point in the history
  • Loading branch information
bobz25 committed Oct 25, 2022
1 parent b11a84f commit a3bc11e
Show file tree
Hide file tree
Showing 9 changed files with 6,241 additions and 105 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: [push]

jobs:
updateDescription:
runs-on: ubuntu-latest
name: debug
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v3
- name: Read package.json step and patch repository
uses: ./ # Uses an action in the root directory
with:
repo: ${{ github.repository }}
repo-token: ${{ secrets.MY_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Github action for update description on repository.

```yaml
uses: zhengbangbo/[email protected]
with:
repo: ${{ github.repository }}
```
## License
Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: 'Update Repository Description'
description: 'Read package.json and update description on github repository page.'
inputs:
repo:
description: 'target repository'
repo-token:
description: 'github token'
runs:
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit a3bc11e

Please sign in to comment.