Skip to content

Commit

Permalink
[Fix] Create contributors action
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Dec 24, 2024
1 parent d7b662c commit 40ba196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 48 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
name: Generate contributors

on:
workflow_dispatch:
inputs:
excludeBot:
description: "Exclude [email protected] from contributors"
required: false
type: boolean
default: false
notGenerateContributorsMd:
required: false
type: boolean
default: false
description: "Not commit CONTRIBUTORS.md ?"
commitMessageBot:
required: true
type: string
default: "[Update] Automate update contributors"
description: "Commit message which bot will do"
svgBranch:
required: true
default: "contributors-svg"
description: "Branch where will save svgs of contributors"

schedule:
- cron: '0 0 * * 1'
pull_request:
Expand Down
30 changes: 4 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,6 @@ Create contributors list. SVGs will in separate branch
name: Generate contributors

on:
workflow_dispatch:
inputs:
excludeBot:
description: "Exclude [email protected] from contributors"
required: false
type: boolean
default: false
notGenerateContributorsMd:
required: false
type: boolean
default: false
description: "Not commit CONTRIBUTORS.md ?"
commitMessageBot:
required: true
type: string
default: "[Update] Automate update contributors"
description: "Commit message which bot will do"
svgBranch:
required: true
default: "contributors-svg"
description: "Branch where will save svgs of contributors"

schedule:
- cron: '0 0 * * 1'
pull_request:
Expand All @@ -64,10 +42,10 @@ jobs:
- name: Generate contributors
uses: gouef/create-contributors-action@main
with:
excludeBot: ${{ inputs.excludeBot || false}}
notGenerateContributorsMd: ${{ inputs.notGenerateContributorsMd || false }}
commitMessageBot: ${{ inputs.commitMessageBot || "[Update] Automate update contributors" }}
svgBranch: ${{ inputs.svgBranch || "contributors-svg" }}
excludeBot: false
notGenerateContributorsMd: false
commitMessageBot: "[Update] Automate update contributors"
svgBranch: "contributors-svg"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand Down

0 comments on commit 40ba196

Please sign in to comment.