This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
fix(deps): update dependency @hello.nrfcloud.com/proto-map to v10.0.4… #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync repository info from package.json | |
env: | |
GITHUB_TOKEN: ${{ secrets.UPDATE_REPO_INFO_PAT }} | |
on: | |
push: | |
branches: | |
- saga | |
paths: | |
- "package.json" | |
- ".github/workflows/update-repo-info.yaml" | |
workflow_dispatch: | |
jobs: | |
update_repo_info: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Sync repository description | |
run: | |
gh repo edit --description "`cat package.json | jq -r '.description'`" | |
- name: Sync repository topics | |
run: | |
cat package.json | jq '.keywords[]' | xargs -I'{}' gh repo edit | |
--add-topic {} | |
- name: Sync homepage | |
run: gh repo edit --homepage "`cat package.json | jq -r '.homepage'`" |