Skip to content

Commit 6a0d79d

Browse files
committed
Adding automation and changes to Unix
1 parent a619601 commit 6a0d79d

5 files changed

Lines changed: 131 additions & 4075 deletions

File tree

.github/workflows/generate-jcl.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Generate UNIXENUM JCL
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
generate-jcl:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Generate UNIXENUM.jcl
19+
run: |
20+
cd Unix
21+
chmod +x UNIXENUM.sh
22+
./UNIXENUM.sh > UNIXENUM.jcl
23+
24+
- name: Commit and push UNIXENUM.jcl
25+
run: |
26+
git config user.name "github-actions[bot]"
27+
git config user.email "github-actions[bot]@users.noreply.github.com"
28+
git add Unix/UNIXENUM.jcl
29+
git diff --cached --quiet && echo "No changes to commit" || \
30+
git commit -m "Auto-generate UNIXENUM.jcl [skip ci]" && git push

0 commit comments

Comments
 (0)