Skip to content

Commit dcc6f59

Browse files
committed
step
1 parent 4bd807b commit dcc6f59

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.github/workflows/package_core.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,6 @@ on:
55
- pull_request
66

77
jobs:
8-
pr-comment-init:
9-
name: Create or update bot comment on PR
10-
runs-on: ubuntu-latest
11-
if: ${{ github.event_name == 'pull_request' }}
12-
env:
13-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
GH_REPO: ${{ github.repository }}
15-
BODY: |
16-
### :gear: CI started on this PR. Follow the progress here.
17-
permissions:
18-
pull-requests: write
19-
steps:
20-
- run: |
21-
if ! gh pr comment ${{ github.event.pull_request.number }} --edit-last --body "${BODY}" ; then
22-
gh pr comment ${{ github.event.pull_request.number }} --body "${BODY}"
23-
fi
24-
258
build-env:
269
name: Prepare build environment
2710
runs-on: ubuntu-latest

.github/workflows/pr-comment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
name: summary
2828

2929
- name: Load PR number
30-
run: [ -f reports/pr_number ] && echo "PR_NUM=$(cat reports/pr_number)" >> $GITHUB_ENV
30+
run: |
31+
[ -f reports/pr_number ] && echo "PR_NUM=$(cat reports/pr_number)" >> $GITHUB_ENV
3132
3233
- name: Check PR number
3334
id: check-pr

0 commit comments

Comments
 (0)