-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
- Loading branch information
Showing
14 changed files
with
245 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,48 @@ | ||
name: Label Community Issues | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if issue author is a member of Kedro org | ||
uses: actions/github-script@v6 | ||
id: membership | ||
with: | ||
github-token: ${{ secrets.GH_TAGGING_TOKEN }} | ||
result-encoding: string | ||
script: | | ||
try { | ||
const result = await github.rest.orgs.getMembershipForUser({ | ||
org: "kedro-org", | ||
username: '${{ github.actor }}' | ||
}) | ||
console.log(result?.data?.state) | ||
if (result?.data?.state == "active"){ | ||
console.log("%s: detected as an active member of Kedro org", '${{ github.actor }}') | ||
return "member"; | ||
} else { | ||
console.log("%s: not detected as active member of Kedro org", '${{ github.actor }}') | ||
return "notMember"; | ||
} | ||
} catch (error) { | ||
console.log("%s: Error occured and marked user as notMember", '${{ github.actor }}') | ||
console.log("Error", error.stack); | ||
console.log("Error", error.name); | ||
console.log("Error", error.message); | ||
return "notMember"; | ||
} | ||
- name: Label issue if author is from community | ||
if: ${{ steps.membership.outputs.result == 'notMember' }} | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
github_token: ${{ secrets.GH_TAGGING_TOKEN }} | ||
labels: 'Community' |
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,20 @@ | ||
name: No Response | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
schedule: | ||
# Run every day at 9am (UTC time) | ||
- cron: '0 9 * * *' | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: lee-dohm/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
responseRequiredLabel: "support: needs more info" | ||
daysUntilClose: 28 | ||
closeComment: >- | ||
This issue has been closed due to lack of information. Feel free to re-open this issue if you're facing a similar problem. Please provide as much information as possible so we can help resolve your issue. |
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