mirror of
https://github.com/0x5t4l1n/Keylogger.git
synced 2026-05-26 19:36:31 +00:00
e182c216a9
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Add Contributors
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [closed]
|
|
issues:
|
|
types: [closed]
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch: # Allow manual triggering
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
add-contributors:
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Update contributors
|
|
uses: akhilmhdh/contributors-readme-action@v2.3.6
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
image_size: 100
|
|
columns_per_row: 6
|
|
collaborators: 'all'
|
|
committer_username: 'github-actions[bot]'
|
|
committer_email: '41898282+github-actions[bot]@users.noreply.github.com'
|
|
commit_message: 'docs: update contributors list'
|
|
readme_path: 'CONTRIBUTORS.md'
|