actions
This commit is contained in:
parent
4b40537ea4
commit
88bf53af41
11
.github/workflows/linpeas-macos.yml
vendored
11
.github/workflows/linpeas-macos.yml
vendored
@ -1,12 +1,12 @@
|
|||||||
# This is a basic workflow to help you get started with Actions
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
name: CI
|
name: CI-linpeas-macos
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
# Triggers the workflow on push or pull request events but only for the master branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ linpeasdevelop ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
@ -25,6 +25,11 @@ jobs:
|
|||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build linpeas
|
||||||
|
run: |
|
||||||
|
cd linPEAS
|
||||||
|
python3 -m builder.linpeas_builder
|
||||||
|
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Run linpeas
|
- name: Run linpeas
|
||||||
run: linPEAS/linpeas.sh
|
run: ./linpeas.sh
|
26
.github/workflows/linpeas-ubuntu.yml
vendored
26
.github/workflows/linpeas-ubuntu.yml
vendored
@ -1,12 +1,12 @@
|
|||||||
# This is a basic workflow to help you get started with Actions
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
name: CI
|
name: CI-linpeas-ubuntu
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
# Triggers the workflow on push or pull request events but only for the master branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ linpeasdevelop ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
@ -25,6 +25,26 @@ jobs:
|
|||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build linpeas
|
||||||
|
run: |
|
||||||
|
cd linPEAS
|
||||||
|
python3 -m builder.linpeas_builder
|
||||||
|
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Run linpeas
|
- name: Run linpeas
|
||||||
run: linPEAS/linpeas.sh
|
run: ./linpeas.sh
|
||||||
|
|
||||||
|
- name: Create local changes
|
||||||
|
run: git add linpeas.sh
|
||||||
|
|
||||||
|
- name: Commit results to Github
|
||||||
|
run: |
|
||||||
|
git config --local user.email ""
|
||||||
|
git config --global user.name "CI-linpeas-ubuntu"
|
||||||
|
git commit -m "linpeas.sh auto update" -a --allow-empty
|
||||||
|
|
||||||
|
- name: Push changes
|
||||||
|
uses: ad-m/github-push-action@linpeasdevelop
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
branch: ${{ github.ref }}
|
||||||
|
Loading…
Reference in New Issue
Block a user