Skip to content

Commit

Permalink
Update assets to v0.3.0 (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored May 7, 2021
1 parent b1adcc5 commit 9e6c4fe
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/hide-old-bot-comments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file is automatically deployed from https://github.com/at-wat/.rospkg-assets.
# Please don't directly edit; update at-wat/.rospkg-assets instead.

name: hide-old-bot-comments
on: pull_request

jobs:
hide-old-bot-comments:
runs-on: ubuntu-latest
steps:
- name: Hide old bot comments
uses: kamatama41/hide-pr-comments-action@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message_regex: "## \\[[0-9]*\\] (PASSED|FAILED) on "
6 changes: 1 addition & 5 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install gh-pr-comment
run: |
curl -sL https://raw.githubusercontent.com/at-wat/gh-pr-comment/master/install.sh | sh -s
echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: at-wat/setup-gh-pr-comment@v0
- name: Pre-release test
run: |
eval export ${{ matrix.env }}
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ jobs:
run: if [ -f /home/runner/layers.tar ]; then docker load -i /home/runner/layers.tar; fi

- name: Install gh-pr-comment
run: |
curl -sL https://raw.githubusercontent.com/at-wat/gh-pr-comment/master/install.sh | sh -s
echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
cp ${HOME}/.local/bin/gh-pr-comment .github/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: at-wat/setup-gh-pr-comment@v0
- name: Copy gh-pr-comment for container
run: cp $(which gh-pr-comment) .github/
- name: Download codecov script
run: for i in 1 2 3; do wget --timeout=10 -O /tmp/codecovenv https://codecov.io/env && break; done

Expand All @@ -65,7 +62,7 @@ jobs:
|| (gh-pr-comment "${BUILD_LINK} FAILED on ${ROS_DISTRO}" "docker build failed"; false)
docker run --rm \
-e BUILD_LINK=${BUILD_LINK} \
$(sh <(curl -s https://raw.githubusercontent.com/at-wat/gh-pr-comment/master/env.sh)) \
$(gh-pr-comment-env.sh) \
-e GITHUB_ACTIONS \
-e CATKIN_MAKE_OPTIONS \
$(bash /tmp/codecovenv) \
Expand Down

0 comments on commit 9e6c4fe

Please sign in to comment.