Skip to content

Commit e3fbd84

Browse files
authored
gha: lockfiles labels and auto-pr details (#4578)
1 parent 7c1529c commit e3fbd84

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/refresh-lockfiles.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,25 @@ jobs:
108108
rm -r artifacts
109109
110110
- name: Create Pull Request
111+
id: cpr
111112
uses: peter-evans/create-pull-request@f22a7da129c901513876a2380e2dae9f8e145330
112113
with:
113114
commit-message: Updated environment lockfiles
114115
committer: "Lockfile bot <[email protected]>"
115116
author: "Lockfile bot <[email protected]>"
116117
delete-branch: true
117118
branch: auto-update-lockfiles
118-
title: Update CI environment lockfiles
119+
title: [iris.ci] environment lockfiles auto-update
119120
body: |
120121
Lockfiles updated to the latest resolvable environment.
122+
labels: |
123+
New: Pull Request
124+
Bot
125+
126+
- name: Check Pull Request
127+
if: steps.cpr.outputs.pull-request-number != ''
128+
run: |
129+
echo "pull-request #${{ steps.cpr.outputs.pull-request-number }}"
130+
echo "pull-request URL ${{ steps.cpr.outputs.pull-request-url }}"
131+
echo "pull-request operation [${{ steps.cpr.outputs.pull-request-operation }}]"
132+
echo "pull-request head SHA ${{ steps.cpr.outputs.pull-request-head-sha }}"

0 commit comments

Comments
 (0)