Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/codecov/codecov-ac…
Browse files Browse the repository at this point in the history
…tion-4
  • Loading branch information
Unique-Divine committed Sep 24, 2024
2 parents e3d4d72 + e049b12 commit c039bb9
Show file tree
Hide file tree
Showing 162 changed files with 9,807 additions and 2,870 deletions.
3 changes: 3 additions & 0 deletions .github/issue-labeler-config.yml
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:
- '/.*/'
2 changes: 1 addition & 1 deletion .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Rust caches
uses: actions/cache@v3
uses: actions/cache@v4
id: rust-cache
with:
path: |
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/gh-issues.yml
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"
10 changes: 6 additions & 4 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
submodules: true
- name: "Set up Rust caches"
uses: actions/cache@v3
uses: actions/cache@v4
id: rust-cache
with:
path: |
Expand All @@ -46,7 +46,7 @@ jobs:
with:
submodules: true
- name: "Set up Rust caches"
uses: actions/cache@v3
uses: actions/cache@v4
id: rust-cache
with:
path: |
Expand All @@ -68,7 +68,7 @@ jobs:
with:
submodules: true
- name: "Set up Rust caches"
uses: actions/cache@v3
uses: actions/cache@v4
id: rust-cache
with:
path: |
Expand Down Expand Up @@ -99,4 +99,6 @@ jobs:
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Generated smart contract schema JSON types
schema
contracts/*/schema

### Rust ###
# Generated by Cargo
# will have compiled files and executables
Expand All @@ -20,9 +24,12 @@ dist
node_modules/
yarn.lock
.vscode/
.idea/

contracts/*/.editorconfig
packages/*/.editorconfig
contracts/*/schema
lcov.info

.DS_Store
.DS_Store
artifacts/*.json
Loading

0 comments on commit c039bb9

Please sign in to comment.