-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix/devcard-longnames' of https://github.com/Mandeep56S…
…ingh/opensauced into fix/devcard-longnames
- Loading branch information
Showing
76 changed files
with
1,663 additions
and
682 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -26,6 +26,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
|
||
- name: "🔧 install npm@latest" | ||
run: npm i -g npm@latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: OpenSauced Pizza Action | ||
|
||
on: | ||
schedule: | ||
# Run once a week on Sunday at 00:00 UTC | ||
- cron: "0 0 * * 0" | ||
workflow_dispatch: # Allow manual triggering | ||
|
||
jobs: | ||
pizza-action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pizza Action | ||
uses: open-sauced/[email protected] | ||
with: | ||
commit-and-pr: "true" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
|
||
- name: "🔧 install npm@latest" | ||
run: npm i -g npm@latest | ||
|
@@ -49,10 +50,11 @@ jobs: | |
run: npm run build | ||
|
||
- name: "📂 production artifacts" | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build | ||
path: .next | ||
include-hidden-files: true | ||
|
||
release: | ||
environment: | ||
|
@@ -80,7 +82,7 @@ jobs: | |
token: ${{ steps.generate_token.outputs.token }} | ||
|
||
- name: "📂 download build artifacts" | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: build | ||
path: build | ||
|
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 |
---|---|---|
|
@@ -12,8 +12,8 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "☁️ checkout repository" | ||
uses: actions/checkout@v2 | ||
|
@@ -22,6 +22,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
|
||
- name: "🔧 install npm@latest" | ||
run: npm i -g npm@latest | ||
|
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,5 +1,4 @@ | ||
name: "Assign issues with .take" | ||
|
||
on: | ||
issue_comment: | ||
types: | ||
|
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,22 @@ | ||
# Configuration for attributing commits with emails to GitHub user profiles | ||
# Used during codeowners generation. | ||
|
||
# List the emails associated with the given username. | ||
# The commits associated with these emails will be attributed to | ||
# the username in this yaml map. Any number of emails may be listed. | ||
attribution: | ||
brandonroberts: | ||
- [email protected] | ||
jpmcb: | ||
- [email protected] | ||
nickytonline: | ||
- [email protected] | ||
- [email protected] | ||
bdougie: | ||
- [email protected] | ||
zeucapua: | ||
- [email protected] | ||
bekahhw: | ||
- [email protected] | ||
isabensusan: | ||
- [email protected] |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Pill from "components/atoms/Pill/pill"; | ||
import SkeletonWrapper from "components/atoms/SkeletonLoader/skeleton-wrapper"; | ||
|
||
type LotteryFactorBadgeProps = { | ||
lotteryFactor: RepositoryLottoFactor | undefined; | ||
isLoading: boolean; | ||
error: Error | undefined; | ||
}; | ||
|
||
export function LotteryFactorBadge({ lotteryFactor, isLoading, error }: LotteryFactorBadgeProps) { | ||
return error ? null : isLoading || !lotteryFactor ? ( | ||
<SkeletonWrapper width={42} height={24} radius={999} /> | ||
) : ( | ||
<Pill | ||
text={lotteryFactor.all_lotto_factor.replace("-", " ") ?? ""} | ||
color={ | ||
lotteryFactor.all_lotto_factor === "high" | ||
? "red" | ||
: lotteryFactor.all_lotto_factor === "moderate" | ||
? "yellow" | ||
: lotteryFactor.all_lotto_factor === "low" | ||
? "green" | ||
: lotteryFactor.all_lotto_factor === "very-high" | ||
? "purple" | ||
: "slate" | ||
} | ||
className="capitalize" | ||
/> | ||
); | ||
} |
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.