chore: update require for security reason #21
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: Contributors | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
add-contributors: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Delete upstream contributor branch | |
# Allow continue on failure to account for when the | |
# upstream branch is deleted or does not exist. | |
continue-on-error: true | |
run: git push origin --delete update-contributors | |
- name: Create up-to-date contributors branch | |
run: git checkout -B update-contributors | |
- name: Push empty contributors branch | |
run: git push origin update-contributors | |
- name: Switch back to master | |
run: git checkout master | |
- uses: BobAnkh/[email protected] | |
with: | |
CONTRIBUTOR: "## Contributors" | |
COLUMN_PER_ROW: "6" | |
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
IMG_WIDTH: "100" | |
FONT_SIZE: "14" | |
PATH: "/README.md" | |
COMMIT_MESSAGE: "docs(README): update contributors" | |
AVATAR_SHAPE: "square" | |
BRANCH: "update-contributors" | |
PULL_REQUEST: "master" |