Skip to content

Commit

Permalink
[Update] used github action
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Dec 25, 2024
1 parent 11c9d6c commit c28ef0d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Commit Lint

on:
workflow_call: # Trigger pro reusable workflow
workflow_call:
inputs:
branch:
required: false
Expand All @@ -21,4 +21,7 @@ on:

jobs:
lint-commits:
uses: gouef/github-lib-template/.github/workflows/shared_commit-lint.yml@main
runs-on: ubuntu-latest
steps:
- name: Commit lint
uses: gouef/commit-lint-action@main
24 changes: 7 additions & 17 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -1,18 +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 ?"
schedule:
- cron: '0 0 * * 1'
pull_request:
Expand All @@ -28,8 +16,10 @@ on:
- bugfix/**

jobs:
update-contributors:
uses: gouef/github-lib-template/.github/workflows/shared_contributors.yml@main
with:
excludeBot: ${{ inputs.excludeBot || false}}
notGenerateContributorsMd: ${{ inputs.notGenerateContributorsMd || false }}
generate-contributors:
runs-on: ubuntu-latest
steps:
- name: Generate contributors
uses: gouef/create-contributors-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ on:

jobs:
call-release:
uses: gouef/github-lib-template/.github/workflows/shared_release.yml@main
with:
branch: ${{ github.ref_name }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create release
uses: gouef/release-action@main
with:
branch: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.

0 comments on commit c28ef0d

Please sign in to comment.