mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-10 09:02:30 +08:00
docs(readme): change contributors section (#1889)
This commit is contained in:
parent
d6ec31c4e0
commit
803269a64c
2 changed files with 5 additions and 1066 deletions
36
.github/workflows/contributors.yml
vendored
36
.github/workflows/contributors.yml
vendored
|
@ -1,36 +0,0 @@
|
||||||
name: Contributors
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
add-contributors:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- 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 main
|
|
||||||
run: git checkout main
|
|
||||||
- uses: BobAnkh/add-contributors@v0.2.2
|
|
||||||
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: "round"
|
|
||||||
BRANCH: "update-contributors"
|
|
||||||
PULL_REQUEST: "main"
|
|
Loading…
Reference in a new issue