Skip to content

Commit f07b80a

Browse files
committed
hide old commits from this bot
1 parent e4055c1 commit f07b80a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/yetus-general-check.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ jobs:
107107
"whoami && pwd && ls -la ${{ secrets.NIGHTLIES_RSYNC_PATH }} && ls -la ${{ secrets.NIGHTLIES_RSYNC_PATH }}/hbase 2>/dev/null || echo 'hbase dir does not exist'"
108108
ssh-agent -k
109109
110+
- name: Hide Old Comments
111+
if: always()
112+
run: |
113+
# github-actions[bot] has a known user ID: 41898282
114+
# Verify: curl -s "https://api.github.com/users/github-actions%5Bbot%5D" | jq .id
115+
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
116+
export BUILD_BOT_USER_ID="41898282"
117+
export JOB_NAME="HBase-PreCommit-GH-Actions-PR"
118+
export REPO="${{ github.repository }}"
119+
bash src/dev-support/gh_hide_old_comments.sh ${{ github.event.pull_request.number }} || true
120+
110121
- name: Publish to Nightlies
111122
if: always()
112123
uses: burnett01/rsync-deployments@0dc935cdecc5f5e571865e60d2a6cdc673704823

0 commit comments

Comments
 (0)