-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
38 lines (35 loc) · 1.32 KB
/
action.yml
File metadata and controls
38 lines (35 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Refresh Release Wiki Pointer
description: Rebuild the authoritative wiki branch from the merged release state and expose whether the parent repository submodule pointer changed.
inputs:
target:
description: Wiki target directory or submodule path.
required: false
default: .github/wiki
publish-branch:
description: Wiki branch to refresh from the merged release state.
required: false
default: master
commit-message:
description: Commit message used for the wiki branch refresh.
required: false
default: Refresh wiki docs after merged release
outputs:
published:
description: Whether the wiki publish branch received a new commit.
value: ${{ steps.refresh.outputs.published }}
pointer-changed:
description: Whether the parent repository submodule pointer changed after the wiki publish branch refresh.
value: ${{ steps.refresh.outputs.pointer-changed }}
publish-sha:
description: Final commit SHA at the refreshed wiki publish branch head.
value: ${{ steps.refresh.outputs.publish-sha }}
runs:
using: composite
steps:
- id: refresh
shell: bash
env:
INPUT_TARGET: ${{ inputs.target }}
INPUT_PUBLISH_BRANCH: ${{ inputs.publish-branch }}
INPUT_COMMIT_MESSAGE: ${{ inputs.commit-message }}
run: ${{ github.action_path }}/run.sh