forked from ivy-llc/ivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: show welcome message always (ivy-llc#23592)
- Loading branch information
Showing
1 changed file
with
56 additions
and
62 deletions.
There are no files selected for viewing
118 changes: 56 additions & 62 deletions
118
.github/workflows/auto-comment.yml β .github/workflows/welcome-message.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,56 @@ | ||
name: Check Semantic and welcome new contributors | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
workflow_call: | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
semantics: | ||
name: Semantics | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v3.4.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
pr-compliance-checks: | ||
name: PR Compliance Checks | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: mtfoley/pr-compliance-action@v0.5.0 | ||
with: | ||
body-auto-close: false | ||
protected-branch-auto-close: false | ||
body-comment: > | ||
## Issue Reference | ||
In order to be considered for merging, the pull request description must refer to a | ||
specific issue number. This is described in our | ||
[contributing guide](https://unify.ai/docs/ivy/overview/contributing/the_basics.html#todo-list-issues) and our PR template. | ||
This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue | ||
number that this PR is meant to address. | ||
welcome: | ||
name: Welcome | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
needs: semantics | ||
if: github.event.action == 'opened' | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
pr-message: |- | ||
Congrats on making your first Pull Request and thanks for supporting Ivy! π | ||
Joing the conversation in our [Discord](https://discord.com/invite/sXyFF8tDtm) | ||
Here are some notes to understand our tests: | ||
- We have merged all the tests in one file called \`display_test_results\` job. π It contains the following two sections: | ||
- **Combined Test Results:** This shows the results of all the ivy tests that ran on the PR. βοΈ | ||
- **New Failures Introduced:** This lists the tests that are passing on main, but fail on the PR Fork. | ||
Please try to make sure that there are no such tests. πͺ | ||
name: Check Semantic and welcome new contributors | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
workflow_call: | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
pr-compliance-checks: | ||
name: PR Compliance Checks | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: mtfoley/pr-compliance-action@v0.5.0 | ||
with: | ||
body-auto-close: false | ||
protected-branch-auto-close: false | ||
body-comment: > | ||
## Issue Reference | ||
In order to be considered for merging, the pull request description must refer to a | ||
specific issue number. This is described in our | ||
[contributing guide](https://unify.ai/docs/ivy/overview/contributing/the_basics.html#todo-list-issues) and our PR template. | ||
This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue | ||
number that this PR is meant to address. | ||
welcome: | ||
name: Welcome | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
needs: semantics | ||
if: github.event.action == 'opened' | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
pr-message: |- | ||
Congrats on making your first Pull Request and thanks for supporting Ivy! π | ||
Join the conversation in our [Discord](https://discord.com/invite/sXyFF8tDtm) | ||
Here are some notes to understand our tests: | ||
- We have merged all the tests in one file called \`display_test_results\` job. π It contains the following two sections: | ||
- **Combined Test Results:** This shows the results of all the ivy tests that ran on the PR. βοΈ | ||
- **New Failures Introduced:** This lists the tests that fails on this PR. | ||
Please make sure they are passing. πͺ | ||
Keep in mind that we will assign an engineer for this task and they will look at it based on the workload that they have, so be patient. |