Skip to content

Commit be55294

Browse files
committed
test copyright action
1 parent 1b594ab commit be55294

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/java.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ on:
99
- cron: '0 0 * * *'
1010

1111
jobs:
12+
check-copyright:
13+
name: check copyright
14+
runs-on: ubuntu-latest
15+
steps:
16+
# Checking out the repository which is to be actioned
17+
- uses: actions/checkout@v2
18+
# Implementing action on repository
19+
- uses: VinnyBabuManjaly/[email protected]
20+
with:
21+
CopyrightString: 'Copyright check\nAll rights reserved (c)\n'
22+
FileType: '.jsp'
23+
Path: 'cics-java-liberty-hello-web/'
24+
25+
# Creates pull request with all changes in file
26+
- name: Create Pull Request
27+
uses: peter-evans/create-pull-request@v7
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
1231
build-mvnw:
1332
name: Build Maven Wrapper
1433

0 commit comments

Comments
 (0)