Skip to content

Merge pull request #120 from yumemi-inc/auto/update-lint-rules-cd64976 #39

Merge pull request #120 from yumemi-inc/auto/update-lint-rules-cd64976

Merge pull request #120 from yumemi-inc/auto/update-lint-rules-cd64976 #39

name: Update Contributors
on:
workflow_dispatch:
push:
branches:
- 'main'
env:
UPDATE_CONTRIBUTORS_BRANCH: update-contributors
jobs:
add-contributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Delete old branch (If it exists)
run: git push origin --delete ${{ env.UPDATE_CONTRIBUTORS_BRANCH }}
continue-on-error: true
- name: Create and push new branch
run: |
git branch ${{ env.UPDATE_CONTRIBUTORS_BRANCH }}
git push origin ${{ env.UPDATE_CONTRIBUTORS_BRANCH }}
# https://github.com/BobAnkh/add-contributors
- uses: BobAnkh/add-contributors@v0.2.2
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ env.UPDATE_CONTRIBUTORS_BRANCH }}
PULL_REQUEST: 'main'
IGNORED_CONTRIBUTORS: 'GitHub Web Flow'