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