File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,14 @@ jobs:
49
49
50
50
- name : Set variables
51
51
id : vars
52
- # Including hashes of both the source and the workflow file makes this
53
- # idempotent.
54
52
env :
55
53
RENAME_TO : ${{ steps.go.outputs.MODULE_SUFFIX == 'ava-labs/libevm' && 'ethereum/go-ethereum' || 'ava-labs/libevm' }}
56
54
run : |
57
55
echo "RENAME_FROM=${{ steps.go.outputs.MODULE_SUFFIX}}" >> "$GITHUB_OUTPUT";
58
56
echo "RENAME_TO=${RENAME_TO}" >> "$GITHUB_OUTPUT";
59
57
echo "WORKFLOW_HASH=${WORKFLOW_HASH}" >> "$GITHUB_OUTPUT";
60
58
echo "SOURCE_COMMIT=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT";
61
- echo "AUTO_BRANCH_NAME=auto/rename-module/to=${RENAME_TO}/src=$(git rev-parse HEAD)/workflow_sha=${{ github.workflow_sha }}" \
59
+ echo "AUTO_BRANCH_NAME=auto/rename-module/to=${RENAME_TO}/src=$(git rev-parse HEAD)/workflow_sha=${{ github.workflow_sha }}/run=${{ github.run_id }} " \
62
60
>> "$GITHUB_OUTPUT";
63
61
64
62
- name : Globally rename module from ${{ steps.vars.outputs.RENAME_FROM }} to ${{ steps.vars.outputs.RENAME_TO }}
91
89
92
90
- name : Set branch name
93
91
id : branch
94
- env :
92
+ env :
95
93
BRANCH : ${{ inputs.branch || steps.vars.outputs.AUTO_BRANCH_NAME }}
96
94
run : echo "NAME=${BRANCH}" >> "$GITHUB_OUTPUT";
97
95
@@ -113,5 +111,6 @@ jobs:
113
111
114
112
Source: ${{ steps.vars.outputs.SOURCE_COMMIT }} (${{ inputs.source }})
115
113
Workflow: ${{ github.workflow_sha }} (${{ github.workflow_ref }})
114
+ Run ID: ${{ github.run_id }}
116
115
repo : ${{ github.repository }}
117
116
branch : ${{ steps.branch.outputs.NAME }}
You can’t perform that action at this time.
0 commit comments