(Attempt #1): Fix "Wordlist Updater - Awesome list of secrets in environment variables"

This commit is contained in:
PinkDev1 2022-10-01 03:06:06 -03:00
parent 907748e2cc
commit d4e34744d0

View file

@ -21,10 +21,14 @@ jobs:
run: |
git config --local user.email "example@github.com"
git config --local user.name "GitHub Action"
- name: Set environment variables
run: echo "::set-output name=gitstatus::$(git status --porcelain)"
- name: Commit changed files
if: steps.version.outputs.gitstatus != ""
run: git commit -m "[Github Action] Updated awesome-environment-variable-names.txt"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
if: steps.version.outputs.gitstatus != ""
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true