feact(ci): update tf-docs and megalinter flows
This commit is contained in:
@@ -30,12 +30,20 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
README.md
|
||||
- name: Push updated README.md
|
||||
- name: Commit and push new terraform docs version
|
||||
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||
run: |
|
||||
git config --global user.name "Gitea Bot"
|
||||
git config --global user.email "bot@git.palkoi.net"
|
||||
git add README.md
|
||||
git status
|
||||
git commit -m 'docs(tf-docs): update README.md'
|
||||
git push
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||
commit_message: "[MegaLinter] Apply linters fixes"
|
||||
commit_user_name: Gitea Bot
|
||||
commit_user_email: bot@git.palkoi.net
|
||||
# - name: Push updated README.md
|
||||
# if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||
# run: |
|
||||
# git config --global user.name "Gitea Bot"
|
||||
# git config --global user.email "bot@git.palkoi.net"
|
||||
# git add README.md
|
||||
# git status
|
||||
# git commit -m 'docs(tf-docs): update README.md'
|
||||
# git push
|
||||
|
||||
Reference in New Issue
Block a user