-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(github): Add project automation for https://tinyurl.com/25uty9w5
Squashed commit of the following: commit c86fc18bc8f29355c51e281161876af7f8c1be4f Merge: 2c714a8 2bb5f3e Author: Unique Divine <[email protected]> Date: Tue Oct 8 20:54:23 2024 -0500 Merge branch 'main' into ud/main-clone commit 2c714a818a7c63a799ae5069eeb32f7ba6d94369 Author: Unique Divine <[email protected]> Date: Tue Oct 8 20:47:46 2024 -0500 chore(github): Add project automation for https://tinyurl.com/25uty9w5
- Loading branch information
1 parent
2bb5f3e
commit f2de02b
Showing
2 changed files
with
41 additions
and
0 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,3 @@ | ||
# Adds the "S-triage" label ot any issue that gets opened. | ||
S-triage: | ||
- '/.*/' |
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,38 @@ | ||
name: "Auto-add GH issues to project" | ||
# Add all issues opened to the issue board for triage and assignment | ||
# GitHub Org and Project Automation | ||
# https://www.notion.so/nibiru/GitHub-Org-and-Project-Automation-c771d671109849ee9fda7c8b741cd66a?pvs=4 | ||
|
||
on: | ||
issues: | ||
types: ["opened", "labeled"] | ||
|
||
permissions: | ||
issues: write | ||
contents: read | ||
|
||
jobs: | ||
# https://github.com/actions/add-to-project | ||
add-to-project: | ||
name: "Add GH ticket to project" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/NibiruChain/projects/8 | ||
github-token: ${{ secrets.NIBIRU_PM }} | ||
|
||
label-triage: | ||
name: "Add GH ticket to project" | ||
runs-on: ubuntu-latest | ||
# The action comes from the "Activty types" for the "issues" webhook event | ||
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#issues | ||
if: "github.event.action == 'opened'" | ||
steps: | ||
- uses: github/[email protected] | ||
if: join(github.event.issue.labels) == '' | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: ".github/issue-labeler-config.yml" | ||
enable-versioned-regex: 0 | ||
not-before: "2024-05-01T00:00:00Z" |