Skip to content

Commit

Permalink
Merge pull request #357 from rapyuta-robotics/devel
Browse files Browse the repository at this point in the history
🎉 release: v9.0.0
  • Loading branch information
ankitrgadiya authored Sep 25, 2024
2 parents 7c76df5 + 90e3286 commit 893950d
Show file tree
Hide file tree
Showing 138 changed files with 3,169 additions and 5,199 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Commit Hygiene 💬
name: 💬 Check Commit Hygiene

on:
pull_request:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Github Pages for Documentation
name: 📝 Github Pages for Documentation
on:
push:
branches:
Expand All @@ -8,7 +8,7 @@ jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Pipenv
run: pip3 install pipenv
Expand All @@ -17,11 +17,13 @@ jobs:
run: pipenv install --dev

- name: Build Documentation
run: pipenv run python3 -m sphinx -M html docs/source docs/output
run: |
pipenv run python3 -m sphinx -M html docs/source docs/output
cp scripts/install.sh docs/output/html/install.sh
- name: Deploy gh-pages
if: github.repository == 'rapyuta-robotics/rapyuta-io-cli' && github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/output/html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload to PyPi
name: 📦️ Upload to PyPi
on:
release:
types:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-compatibility.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Python Compatibility Check 🐍
name: 🐍 Python Compatibility Check
on: [ push ]

jobs:
python-compatibility:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: 🎉 Release
on:
push:
branches:
Expand Down
40 changes: 38 additions & 2 deletions .github/workflows/upload-appimage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload AppImage
name: ⬆️ Upload AppImage
on:
push:
branches:
Expand Down Expand Up @@ -34,8 +34,44 @@ jobs:
if-no-files-found: error
retention-days: 15

- name: Artifact Comment on PR
- name: Install GitHub CLI
run: |
sudo apt-get update
sudo apt-get install gh
- name: Edit the last bot comment
id: edit-comment
if: github.event_name == 'pull_request'
run: |
set -e
gh pr comment $PR_NUMBER --edit-last -b "
**🤖 Pull Request [Artifacts](https://github.com/rapyuta-robotics/rapyuta-io-cli/actions/runs/"$RUN_ID") (#"$RUN_ID") 🎉**
"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_ID: ${{ github.run_id }}
PR_NUMBER: ${{ github.event.number }}
continue-on-error: true


- name: Delete existing bot comments
if: steps.edit-comment.outcome == 'failure'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
run: |
# Get all comments on the PR where the author is the bot
COMMENTS=$(gh api repos/${{ github.repository }}/issues/$PR_NUMBER/comments --jq '.[] | select(.user.login == "github-actions[bot]") | .id')
# Loop through each bot comment and delete it
for COMMENT_ID in $COMMENTS; do
gh api repos/${{ github.repository }}/issues/comments/$COMMENT_ID -X DELETE
done


- name: Artifact Comment on PR
# if: github.event_name == 'pull_request'
if: steps.edit-comment.outcome == 'failure'
run: |
gh pr comment $PR_NUMBER -b "
**🤖 Pull Request [Artifacts](https://github.com/rapyuta-robotics/rapyuta-io-cli/actions/runs/"$RUN_ID") (#"$RUN_ID") 🎉**
Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ graphlib-backport = ">=1.0.3"
jinja2 = ">=3.0.1"
munch = ">=2.4.0"
pyyaml = ">=5.4.1"
rapyuta-io = ">=1.16.0"
rapyuta-io = ">=1.17.1"
tabulate = ">=0.8.0"
pyrfc3339 = ">=1.1"
directory-tree = ">=0.0.3.1"
yaspin = "==2.5.0"
jsonschema = ">=4.0.0"
jsonschema = ">=4.23.0"
waiting = ">=1.4.1"
semver = ">=3.0.0"
email-validator = "==2.0.0.post2"
Expand Down
Loading

0 comments on commit 893950d

Please sign in to comment.