fix: roles-readme action default value (#706)
* fix: default value for push-branch Signed-off-by: Nemental <[email protected]> * docs(ssh_hardening): meta arguments desc Signed-off-by: Nemental <[email protected]> * fix: split checkout for forked repos in pull requests Signed-off-by: Nemental <[email protected]> * fix: push not on pr and added diff Signed-off-by: Nemental <[email protected]> --------- Signed-off-by: Nemental <[email protected]>
This commit is contained in:
1 parent
5aa26aa039
commit
8252b82764
2 files changed
+7
-2
No files matched your search
@@ -37,11 +37,16 @@ jobs:
|
||||
- name: Run aar_doc
|
||||
run: aar_doc roles/${{ matrix.roles }} markdown
|
||||
|
||||
- name: Output diff
|
||||
run: git diff roles/${{ matrix.roles }}/README.md
|
||||
|
||||
- name: Push README
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: github-actions-x/[email protected]
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
push-branch: ${{ github.head_ref ?? github.ref_name }}
|
||||
commit-message: 'update ${{ matrix.roles }} readme'
|
||||
files: roles/${{ matrix.roles }}/README.md
|
||||
rebase: true
|
||||
name: dev-sec CI
|
||||
email: [email protected]
|
||||
@@ -65,7 +65,7 @@ argument_specs:
|
||||
ssh_permit_tunnel:
|
||||
default: false
|
||||
type: bool
|
||||
description: '`true` if SSH Port Tunneling is required.'
|
||||
description: Set to `true` if SSH Port Tunneling is required.
|
||||
ssh_remote_hosts:
|
||||
default: []
|
||||
type: list
|
||||
|
||||
Reference in new issue
Block a user