(Attempt #1): Fix "Wordlist Updater - Awesome list of secrets in environment variables"
This commit is contained in:
+4
@@ -21,9 +21,13 @@ 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
|
||||
if: steps.version.outputs.gitstatus != ""
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user