Skip to content

Commit 9772af0

Browse files
Updated license-checker workflow (#475)
Co-authored-by: Surya Gupta <[email protected]>
1 parent 0c2118a commit 9772af0

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

.github/workflows/license-checker.yaml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,8 @@ on:
44
schedule:
55
- cron: '0 0 * * 1' # Runs every Monday at 00:00 UTC
66
workflow_dispatch:
7-
87
jobs:
98
license-check:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout code
13-
uses: actions/checkout@v5
14-
15-
- name: Import GPG key
16-
uses: crazy-max/ghaction-import-gpg@v6
17-
with:
18-
gpg_private_key: ${{ secrets.CSM_GPG_PRIVATE_KEY }}
19-
git_user_signingkey: true
20-
git_commit_gpgsign: true
21-
git_tag_gpgsign: true
22-
git_config_global: true
23-
24-
- name: Run License Header Checker
25-
uses: dell/common-github-actions/license-checker@main
26-
with:
27-
autofix: true
28-
29-
- name: Create Pull Request
30-
uses: peter-evans/create-pull-request@v7
31-
with:
32-
token: ${{ secrets.GITHUB_TOKEN }}
33-
branch: autofix/license-header
34-
commit-message: "License header autofix"
35-
title: "Automated PR for file changes"
36-
body: "This PR was created automatically by a GitHub Action."
37-
sign-commits: true
38-
delete-branch: false
9+
name: Run License Header Checker
10+
uses: dell/common-github-actions/.github/workflows/license-checker.yaml@main
11+
secrets: inherit

0 commit comments

Comments
 (0)