Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve GitHub Actions Bot Interaction Experience #273

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/generator-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ jobs:
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: main

uses: actions/checkout@v4
- name: Update Changelog
uses: AntonioGally/ag-changelogger/@main
with:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pierre-Review

on:
pull_request:
pull_request_review_comment:
types: [created]

concurrency:
group:
${{ github.repository }}-${{ github.event.number || github.head_ref ||
github.sha }}-${{ github.workflow }}-${{ github.event_name ==
'pull_request_review_comment' && 'pr_comment' || 'pr' }}
cancel-in-progress: ${{ github.event_name != 'pull_request_review_comment' }}

jobs:
auto:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Pierre-Review
uses: aummo/pierre-review@main
- name: PR Review & Summary Bot with AI and Chat Features Experimental
uses: primathontech/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
debug: false
review_simple_changes: true
review_comment_lgtm: true
12 changes: 12 additions & 0 deletions .github/workflows/workflow-reporter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Receive the workflow stats
workflowStat: true

# Receive the workflow job stats
jobStat: true


salutation: Hello

# Custom body message
# This will come after salutation
body: 持续集成工作流程失败。请查询相关详情
Loading