Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: automatic update contributors list (#4029)
* chore: automatic update contributors list * chore: update contributors field * chore: installs site deps * chore: run format after contributors update * chore: update contributors field * chore: switch to GitHub action * chore: update contributors field * chore: use token for checkout Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
- Loading branch information
1 parent
9975b53
commit fce24e7
Showing
2 changed files
with
151 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Maintaining Contributors List | ||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
update-contributors: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: navikt/github-app-token-generator@2d70c12368d1958155af4d283f9f21c9a2a8cb98 | ||
id: get-token | ||
with: | ||
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }} | ||
app-id: ${{ secrets.TOKENS_APP_ID }} | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ steps.get-token.outputs.token }} | ||
- uses: netlify/update-contributors-action@main | ||
with: | ||
github-token: ${{ steps.get-token.outputs.token }} | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: 'chore: update contributors field' | ||
file_pattern: package.json | ||
commit_user_name: Contributors[bot] |
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
fce24e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📊 Benchmark results
Package size: 377 MB