generated from gouef/github-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 }} | ||
``` | ||
|