mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
chore: update CI/CD workflows, Homebrew and new contributors (#552)
This commit is contained in:
@@ -1,21 +1,38 @@
|
||||
name: Contributors
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * 0' # At 01:00 on Sunday.
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- README.md
|
||||
schedule:
|
||||
- cron: '0 1 1 * *' # 1st of each month at 01:00 UTC
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
logLevel:
|
||||
description: 'manual run'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
jobs:
|
||||
contributors:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: bubkoo/contributors-list@v1
|
||||
- name: Generate app token
|
||||
uses: actions/create-github-app-token@v3
|
||||
id: app-token
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
round: true
|
||||
app-id: ${{ secrets.HACKBROWSERDATA_BOT_APP_ID }}
|
||||
private-key: ${{ secrets.HACKBROWSERDATA_BOT_PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
|
||||
- name: Update contributors list
|
||||
uses: akhilmhdh/contributors-readme-action@v2.3.11
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
with:
|
||||
image_size: 100
|
||||
columns_per_row: 6
|
||||
readme_path: README.md
|
||||
auto_detect_branch_protection: false
|
||||
commit_message: 'chore: update contributors list [skip ci]'
|
||||
|
||||
Reference in New Issue
Block a user