From ebc2af0489c8f652e834d13ed40a01bf720e3b6e Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Fri, 18 Jun 2021 00:04:54 +0200 Subject: [PATCH] m --- .github/workflows/linpeas-ubuntu.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linpeas-ubuntu.yml b/.github/workflows/linpeas-ubuntu.yml index 4ac54fd..df40148 100644 --- a/.github/workflows/linpeas-ubuntu.yml +++ b/.github/workflows/linpeas-ubuntu.yml @@ -33,4 +33,19 @@ jobs: # Runs a single command using the runners shell - name: Run linpeas - run: linPEAS/linpeas.sh \ No newline at end of file + run: linPEAS/linpeas.sh + + - name: Create local changes + run: git add linPEAS/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 }} \ No newline at end of file