-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move keras-cv markdown files to toplevel (#2291) Keras, KerasNLP and KerasTuner all store things liek the CONTRIBUTING.md in the toplevel of the repo. We should do the same here. * Add `version()` API to unify with Keras and KerasNLP (#2199) * Unify `version` API with keras and keras_nlp * Formatting * Update to keep `version` parity with KerasNLP, support nightly version string * Update version_utils.py * Update version_utils.py * Update random_crop_and_zoom.py (#2294) * Update random_crop_and_zoom.py * Update description * rename file * bug fix (#2303) * Add BASNet Segmentation Model (#2006) (#2271) * BASNet model initial code structure * adding test and initial preset details * adding comments * cleaning and formatting code * keras 3 support added * disabling preset test for BASNet * Fix image.shape type (#2305) Fixed image.shape issue for tensorflow backend * Create workflow for auto assignment of issues and for stale issues (#2313) * Create auto-assignment.yaml * Create auto-assignment.js * Create stale-issue-pr.yaml * Rename auto-assignment.yaml to auto-assignment.yml * Rename stale-issue-pr.yaml to stale-issue-pr.yml * Fix format and Update Vectorized Base (#2323) * Fix CI Test for Basnet OOM and PyCoCo Test Failure for JAX (#2322) * Reduce memory consumption for BasNet tests (#2325) --------- Co-authored-by: Matt Watson <[email protected]> Co-authored-by: Gabriel Rasskin <[email protected]> Co-authored-by: Sachin Prasad <[email protected]> Co-authored-by: Haifeng Jin <[email protected]> Co-authored-by: Hamid Ali <[email protected]> Co-authored-by: Tirth Patel <[email protected]>
- Loading branch information
1 parent
0e2c479
commit 7eee38a
Showing
38 changed files
with
914 additions
and
64 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: auto-assignment | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
welcome: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const script = require('./\.github/workflows/scripts/auto-assignment.js') | ||
script({github, context}) |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** Automatically assign issues and PRs to users in the `assigneesList` | ||
* on a rotating basis. | ||
@param {!object} | ||
GitHub objects can call GitHub APIs using their built-in library functions. | ||
The context object contains issue and PR details. | ||
*/ | ||
|
||
module.exports = async ({ github, context }) => { | ||
let issueNumber; | ||
let assigneesList; | ||
// Is this an issue? If so, assign the issue number. Otherwise, assign the PR number. | ||
if (context.payload.issue) { | ||
//assignee List for issues. | ||
assigneesList = ["SuryanarayanaY", "sachinprasadhs"]; | ||
issueNumber = context.payload.issue.number; | ||
} else { | ||
//assignee List for PRs. | ||
assigneesList = []; | ||
issueNumber = context.payload.number; | ||
} | ||
console.log("assignee list", assigneesList); | ||
console.log("entered auto assignment for this issue: ", issueNumber); | ||
if (!assigneesList.length) { | ||
console.log("No assignees found for this repo."); | ||
return; | ||
} | ||
let noOfAssignees = assigneesList.length; | ||
let selection = issueNumber % noOfAssignees; | ||
let assigneeForIssue = assigneesList[selection]; | ||
|
||
console.log( | ||
"issue Number = ", | ||
issueNumber + " , assigning to: ", | ||
assigneeForIssue | ||
); | ||
return github.rest.issues.addAssignees({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
assignees: [assigneeForIssue], | ||
}); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: Awaiting response issues | ||
uses: actions/stale@v9 | ||
with: | ||
days-before-issue-stale: 14 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
# reason for closed the issue default value is not_planned | ||
close-issue-reason: completed | ||
only-labels: "stat:awaiting response from contributor" | ||
stale-issue-message: > | ||
This issue is stale because it has been open for 14 days with no activity. | ||
It will be closed if no further activity occurs. Thank you. | ||
# List of labels to remove when issues/PRs unstale. | ||
labels-to-remove-when-unstale: "stat:awaiting response from contributor" | ||
close-issue-message: > | ||
This issue was closed because it has been inactive for 28 days. | ||
Please reopen if you'd like to work on this further. | ||
days-before-pr-stale: 14 | ||
days-before-pr-close: 14 | ||
stale-pr-message: "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you." | ||
close-pr-message: "This PR was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further." | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Contribution issues | ||
uses: actions/stale@v9 | ||
with: | ||
days-before-issue-stale: 180 | ||
days-before-issue-close: 365 | ||
stale-issue-label: "stale" | ||
# reason for closed the issue default value is not_planned | ||
close-issue-reason: not_planned | ||
any-of-labels: "stat:contributions welcome,good first issue" | ||
# List of labels to remove when issues/PRs unstale. | ||
labels-to-remove-when-unstale: "stat:contributions welcome,good first issue" | ||
stale-issue-message: > | ||
This issue is stale because it has been open for 180 days with no activity. | ||
It will be closed if no further activity occurs. Thank you. | ||
close-issue-message: > | ||
This issue was closed because it has been inactive for more than 1 year. | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.