1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/.github/workflows/contributors.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2021-10-21 20:33:58 +02:00
name: Contributors
on:
push:
branches:
- main
2022-02-19 21:04:01 +01:00
workflow_dispatch:
2024-03-13 13:43:06 +01:00
2021-10-21 20:33:58 +02:00
jobs:
add-contributors:
runs-on: ubuntu-latest
steps:
2024-03-13 13:43:06 +01:00
- uses: actions/checkout@v4
2022-03-02 10:08:30 +01:00
- 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
2022-03-02 10:08:30 +01:00
run: git push origin --delete update-contributors
- name: Create up-to-date contributors branch
run: git checkout -B update-contributors
2022-03-02 14:40:37 +01:00
- name: Push empty contributors branch
run: git push origin update-contributors
- name: Switch back to main
run: git checkout main
2022-02-19 21:04:01 +01:00
- uses: BobAnkh/add-contributors@v0.2.2
2021-10-21 21:18:50 +02:00
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"
2021-10-21 23:21:38 +02:00
BRANCH: "update-contributors"
2021-10-21 23:54:20 +02:00
PULL_REQUEST: "main"