-
Notifications
You must be signed in to change notification settings - Fork 119
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' into Website-Down
- Loading branch information
Showing
11 changed files
with
354 additions
and
636 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,71 @@ | ||
index.html,1721325705013,269957fd637294736749a2b443ddc4c87dc6e53c5b5887b0dfdecfa4d234f233 | ||
asset-manifest.json,1721325705056,6ae0ff6b8a232954897c5351b3257d9c456dd63535ecbae4fb7edca2e269ba81 | ||
static/media/register.270edb260578be66d92f3ad0f04b50ab.svg,1721325704992,e7d2df6fc2c6c65ca04896517ba5d322435a18113e50866efc824358ab2a1567 | ||
static/media/linkedin.6892b3ae328c7a1e055f.png,1721325705002,7ace30d67b618584f7eaf73cd153e8eff9f188e99842015a5a841b8a917013e6 | ||
static/media/log.cd046e1a495c96cce5951c2e227306cf.svg,1721325704992,3811df74e47aec5edd6627efe2fc68d0611e82701df440c6e382cd6600364237 | ||
static/media/homeicon.6dd83424193918fb1207.png,1721325705002,d0cdbd6598c78bb30be2c9278621d307cc9b18144004843b12e99477e04b90f4 | ||
static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2,1721325704992,45fcbd3ba8ad4babd2ff06ee513469f97a4f2f8e72b80f981f866f4e1078b6e3 | ||
static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf,1721325704992,781ad8cf94713b3586ae61fe948e8b451f62c8b09bc877ec28a47afa22c4d91d | ||
static/media/event.f1f49d6d7894a80b3ae0.png,1721325705010,9991229b0e101a8e3015546c722520e60de05d39b64d7982cc71acac71de553d | ||
static/media/collaborationhover.99ac32a3a2d1ed7429a3.png,1721325705008,0818a3bb672c49a45494b24823fc7f08aa6c67c477b3a47bb88e4688bf86d1ad | ||
static/media/women.e59bc6807572a2f7dbb3.jpg,1721325705015,18193fd7f335403140d73982da4077fb7f2324ac6fd2dff39bc56114f4ad9265 | ||
static/media/seller3.7438d8be043c56d690c0.jpg,1721325705014,3fc04f2c16bc35f119f8a2de5737ad8a1c6de57b7ca666ed113335d109a86fca | ||
static/media/projecthover.3fc44cbbb954d782fb6e.png,1721325705014,8faba07698c00cebde30085dc4b4f80eb83604ff0d928fc32da22bd61674bb3e | ||
static/media/project.790d4a6dbbef7c8eb5d5.png,1721325705013,8f0c9070aca3dd3e618f773971a1615363086cf2e93bca09817096bb1efd8e67 | ||
static/media/profile1.5faf09a7795d28bf5a2b.png,1721325705007,ac3d3091e24d3ae7e4dab4e4ff42f0bafbe0bf162183d51991ec4228e35941f8 | ||
static/media/instagram.159594a2d44d9175df20.png,1721325705002,6bec70c2d4fe7c925435f54aaea6ad2180579aedde2ee21145bd02b8cae3e890 | ||
static/media/hire-landing-cat-logo-design.92af35d58fd29e5c925e.webp,1721325704992,dc7e50b2a6ac23969b10d2800cdea20edfa5f5f32efb9375078a4aba12e304a9 | ||
static/media/fa-regular-400.21cb8f55d8e0c5b89751.woff2,1721325704992,5bc42af8a080aa8dd30e2ee64280fb7644dc612f23641f386bfcd287e7ce3adf | ||
static/media/eventhover.1c1eeedf5ed74ef9d43a.png,1721325705008,6b6832da7c403615a58d649f1bb31ea8877d100357bca0a6061a5afcdf13d282 | ||
static/media/seller4.6c17dab7a2e523b38a20.jpg,1721325705014,14ac51ae83a4fa0d3e42a57436db9df2cdd51f1f40b0ec8192cb91de2ffdd17d | ||
static/media/profile.1dbf553e0a82d03a7ce2.png,1721325705007,99c76b74571443f0850e17479209f147de59c57ebc7552ecaf0d173213558e67 | ||
1.png,1721325602232,a5ed5737ce6b590f6a47fb12b8b54041b0683f308dc950ed2e3b92dff3c8f484 | ||
2.png,1721325602233,6a667861529ae3cfab25d66f68c5cbab1551f076f0cc5c296620495081a58687 | ||
404.html,1721325602404,b7bab6b83fa074653ff28c8d2a64135d3434575f70a12ab3d3ba8080461b9537 | ||
logo192.png,1721325602405,76c449ccb9cd117c2f2338f091b18f7050f3210e249b2228f5c81b23f34377cd | ||
manifest.json,1721325602406,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1 | ||
logo512.png,1721325602406,7779210d56c1f3741e2e487799fe3092def4fa6ac450a60532b807c3a8971205 | ||
robots.txt,1721325602406,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec | ||
static/media/fa-regular-400.eb91f7b948a42799f678.ttf,1721325704992,e3cefda95af8dd0133f5c6b4d8ffda85588cf6123db674d96b46d5663273fb06 | ||
static/media/collaboration.b18723605ca404caa58f.png,1721325705008,651169dfa91b2de527038e4088876052c0c006a635bdf73d556817deb8ec89b2 | ||
static/media/card9.6d96022c8f0793e6dd91.png,1721325705007,0cb8bd184e741890775a57acb8c9d46726e83a9d44941c5b4996d477009cdcf0 | ||
static/media/third.0484c8f4acaec2508b0c.webp,1721325704992,7bdae3562089034784f736a977d87664f154d4ee8061c9b5bd58bd4a8709dac5 | ||
static/media/seventh.c823da098f8fedaea83b.webp,1721325705001,a20157b6f1a2c20dbdb88985fb9a591cd89b219b0d276768e0486dd88aed334b | ||
static/media/seller5.ae40df41d24083866d8f.jpg,1721325705014,c3bc12e55d45eaf2440ab1b284d66efc9217118d1bed0cd9d26d7e2a5fbe723a | ||
static/media/seller2.84fe167149224c4ff81d.jpg,1721325705014,c5a20319e072abe4753c3a11e8eae8b3cbd36e0c16b2918fb6a10072a6b71284 | ||
static/media/seller1.0c86b331a4ef80d2811f.jpg,1721325705014,f9789ec4dc1d0d5085647c660a604b86b646662233009e307fdda647b6638ecd | ||
static/media/knowledgehover.e3aee51d0c221126d7fd.png,1721325705009,6fec80ed53f2e6f02b2ec9596110bfb914e6f5e86ed34eeecf4f3cc894cd20c9 | ||
static/media/knowledge.8758f38b87c1c927ef8f.png,1721325705009,f05294eb190517f4ea71d2e108352d5903a771606f0a6c5503e195c2979b79e3 | ||
static/media/eighth.3f6d5086c8b1420cc94c.webp,1721325705001,14ff65ccdc00142156c299daa323e33c3fba9704f4f768c7e40658968b53f7b8 | ||
static/js/main.1c082759.js.LICENSE.txt,1721325705015,2c6572413049edc2d050a8d34acbc31a9cd570755cd97c9494750ce0773c8bf8 | ||
static/media/apple-touch-icon.9cc846c4288b686738cc.png,1721325705007,8cd56b1fe21dabc0fd0a9ed265d15bd178a6fc685bc3d6bd1bc2c03bdc45ab70 | ||
static/js/488.63a97ade.chunk.js,1721325705018,c6b763977a51b51f45b862d34d96c91019adc78f5a8be128f75647bf2606baa1 | ||
static/js/488.63a97ade.chunk.js.map,1721325705056,16f98aa589b0371ac0545962cbc10c701b8c1ac22ec2f76f8afdb5a52469dbfb | ||
static/media/card4.238bcc8bdb31e2e7c7af.jpg,1721325705003,a07d973f0e9bcacdce1b05133be77977d4a3759599ffdf2929e56ed48aae5bcb | ||
static/media/sixth.47cf0807f1f5f32e5538.webp,1721325705001,bd3f7c32ec7b9b42a6db7d389ec2056761779df3fcc53fe0f3c8a6e64a9a005d | ||
static/media/HirePage.d311277d9c20a7fb75ed.webp,1721325705002,a9568e2cc0c80b0b20b8fd632cb5ad08c95969cab6cd366013f66e4e70490cda | ||
static/media/logo.5a0d7d5f767f88ca1a2d.png,1721325705013,c442455040e8d59165d925e740bf01e5709f9848c981f3cbf63cd1ebe383dc7c | ||
static/media/fifth.33b55fc057a1be70f952.webp,1721325704992,f985e64fbe81a3d2484c06165c174629aeb97d4d624ba1769c060572d938e7d5 | ||
static/media/fourth.b9ad608f4dabd60878aa.webp,1721325704992,a08d5920cad2532ee881ffadee26dbcd5a78c05e3d8d4f13e3e56188ff01eb4c | ||
static/media/hire-landing-cat-branding.1154153bd8afa76f2560.webp,1721325704992,926753bed1132758525fb7ba0315384e95a6648ca1e6d7023e408a3bc3d64b43 | ||
static/media/card1.c27bef1c7f6a0ff278c3.jpg,1721325705002,19019a13df53d4ee9e699be33f42310302746709c060d5704a1f994544832133 | ||
static/media/card12.093d95181352dfd0126b.png,1721325705003,d701884b365b28c1200854f3232851c89b6c8584c9879b07c7d07e03a2459950 | ||
favicon.ico,1721325602405,c442455040e8d59165d925e740bf01e5709f9848c981f3cbf63cd1ebe383dc7c | ||
static/media/card7.b25b2be8caee889d6ad4.png,1721325705007,5e1b25c10ee49ae3cb333779b630fe6394efa0c4b1b3b79193030980c8cd9e09 | ||
static/media/fa-brands-400.455ea818179b4def0c43.woff2,1721325704992,238b6c6d5d9719dd05db12c50495e2c8e8ae6cee16a209876e188fa7530d5eb0 | ||
static/media/card5.f1c021388e4ef4245f0c.jpg,1721325705006,0887af0635742cc09c36ee691712bfeb9d0a7a159a9daa940cc63328f90259bd | ||
static/media/card6.7eff3f6d34cd5ba44e4e.jpg,1721325705007,674b96e0f950a2b84439e4a1859edfe37fd94d95b2a741cb50958ee2966f6601 | ||
static/media/Avatar.8d5105eb7592fb5cd091.png,1721325705002,3214a123f2c0056415eefd80730fb8c33d33ba7c4f1a149eedd91e7cf3bfd7d5 | ||
static/media/card3.b3aaacd01972d4e81836.jpg,1721325705003,015dde341ae0a99aaebd311231718e9aee568ef8c55cb08c298ee218b0bc6a8c | ||
static/media/card2.70459f64e161d7a3045e.jpg,1721325705003,81d580d07ea8b079ca71c7a6f4e9163a6fe9057429d19cf006690bf3b3899d92 | ||
static/media/fa-solid-900.4d986b00ff9ca3828fbd.woff2,1721325704992,7799dbe5b1c68956fc24a4da4beb2aeccb2bd6fb3a4236518973469d87713409 | ||
static/css/main.eb0f3c8f.css,1721325705015,2b4b92f856edc9c741efb312985812102662deb9ccf0f85eed9778c069792d81 | ||
static/media/fa-brands-400.60127e352b7a11f7f1bc.ttf,1721325704992,f965c777877634a06900940fa4ce40edff9b56b3ae08be3b3968ce50ce0ae4b2 | ||
static/css/main.eb0f3c8f.css.map,1721325705018,0f9553a769250e46c57c8873fefb66ec49f070aa0ada0ee3d4cfd1ae2a7940bc | ||
static/media/fa-solid-900.bacd5de623fb563b961a.ttf,1721325704992,42a1970f708567b43f016bc2025a31048ed1afbc5e061b735a3f7eef62ddf107 | ||
static/media/1.9d5fc76d7705f2e9f226.jpg,1721325705007,f51371b271aece1a365817fd376a971a6183eec1014a8f19bbc7109970cf277b | ||
static/media/card11.e2371ccc231824202cda.png,1721325705002,ae398629362de77f1fd4c5b24d4e5bd44815ef39aea720a392be7ce32ddc5e60 | ||
static/media/card10.a53e1291e52ef0a4c11c.png,1721325705002,a96dd2506e6d980d1e566506e5c220b29cfedef461c381705063cb038d2b2c7f | ||
static/js/main.1c082759.js,1721325705015,9047096ad6ce45754ae068c1dc4e5f1d3c33e55c7b8093aea760d80b32a086bc | ||
static/media/card8.5c7a98cedad9864c46b7.png,1721325705007,9ce9066609446353b60dfd31dbb2e45668fe7b36c01825dcf20447990f28a652 | ||
static/js/main.1c082759.js.map,1721325705056,28b2fe50846d7381b1969957e264066809db5828b1cdcac8fcc9a8c566a57c6c |
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,5 @@ | ||
{ | ||
"projects": { | ||
"default": "unicollab-38f58" | ||
} | ||
} |
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,33 +1,104 @@ | ||
name: Close Old PRs | ||
name: Unassign Stale Issues | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Runs daily at midnight | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
permissions: | ||
pull-requests: write | ||
issues: write | ||
|
||
jobs: | ||
close_stale_prs: | ||
unassign_stale_issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
||
|
||
steps: | ||
- uses: actions/stale@v7 | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR has been automatically closed due to inactivity from the owner for 15 days.' | ||
days-before-pr-stale: 15 | ||
days-before-pr-close: 0 | ||
exempt-pr-labels: '' | ||
only-labels: '' | ||
operations-per-run: 30 | ||
remove-stale-when-updated: true | ||
debug-only: false | ||
node-version: '16' | ||
|
||
- name: Unassign stale issues | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
npm install axios | ||
node -e " | ||
const axios = require('axios'); | ||
const token = process.env.GITHUB_TOKEN; | ||
const owner = 'YOUR_GITHUB_USERNAME_OR_ORG'; | ||
const repo = 'YOUR_REPOSITORY_NAME'; | ||
const daysStale = 40; | ||
const headers = { | ||
headers: { | ||
Authorization: `token ${token}`, | ||
'Content-Type': 'application/json', | ||
}, | ||
}; | ||
async function getStaleIssues() { | ||
const now = new Date(); | ||
const staleDate = new Date(now.setDate(now.getDate() - daysStale)); | ||
const issues = await axios.get(\`https://api.github.com/repos/${owner}/${repo}/issues?state=open&per_page=100\`, headers); | ||
return issues.data.filter(issue => { | ||
const lastUpdate = new Date(issue.updated_at); | ||
return lastUpdate < staleDate && issue.assignees.length > 0; | ||
}); | ||
} | ||
async function unassignAndReassign(issue) { | ||
const assignees = issue.assignees.map(assignee => assignee.login); | ||
const nextAssignee = issue.body.match(/@(\w+)/g)?.[1]; | ||
if (nextAssignee) { | ||
await axios.post( | ||
\`https://api.github.com/repos/${owner}/${repo}/issues/${issue.number}/assignees\`, | ||
{ | ||
assignees: [nextAssignee.replace('@', '')], | ||
}, | ||
headers | ||
); | ||
await axios.delete( | ||
\`https://api.github.com/repos/${owner}/${repo}/issues/${issue.number}/assignees\`, | ||
{ | ||
data: { | ||
assignees, | ||
}, | ||
headers: { | ||
Authorization: `token ${token}`, | ||
'Content-Type': 'application/json', | ||
}, | ||
} | ||
); | ||
} else { | ||
await axios.delete( | ||
\`https://api.github.com/repos/${owner}/${repo}/issues/${issue.number}/assignees\`, | ||
{ | ||
data: { | ||
assignees, | ||
}, | ||
headers: { | ||
Authorization: `token ${token}`, | ||
'Content-Type': 'application/json', | ||
}, | ||
} | ||
); | ||
} | ||
} | ||
async function main() { | ||
const staleIssues = await getStaleIssues(); | ||
for (const issue of staleIssues) { | ||
await unassignAndReassign(issue); | ||
} | ||
} | ||
main().catch(error => console.error(error)); | ||
" |
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,58 @@ | ||
name: Unassign Stale Issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # Runs daily at midnight | ||
|
||
jobs: | ||
unassign-issues: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Unassign Stale Issues | ||
run: | | ||
open_issues=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues?state=open" \ | ||
| jq -r '.[] | select(.assignee != null) | .number') | ||
for issue in $open_issues; do | ||
# Get the last updated timestamp of the issue | ||
last_updated=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue" \ | ||
| jq -r '.updated_at') | ||
days_since_update=$(( ( $(date +%s) - $(date -d "$last_updated" +%s) ) / 86400 )) | ||
if [ $days_since_update -gt 40 ]; then | ||
current_assignee=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue" \ | ||
| jq -r '.assignee.login') | ||
# Unassign the current assignee | ||
curl -s -X DELETE -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
-d "{\"assignees\":[\"$current_assignee\"]}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue/assignees" | ||
# Find the next assignee in the queue (mentioned in the issue body as @username) | ||
next_assignee=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue" \ | ||
| jq -r '.body' | grep -o '@[a-zA-Z0-9_-]\+' | head -n 1 | tr -d '@') | ||
if [ -n "$next_assignee" ]; then | ||
# Assign to the next assignee | ||
curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
-d "{\"assignees\":[\"$next_assignee\"]}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue/assignees" | ||
fi | ||
# Add a comment mentioning the reassignment | ||
curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
-d "{\"body\":\"@${current_assignee} has been unassigned due to inactivity. @${next_assignee}, you have been assigned to this issue. Please make sure to update the issue within the next 15 days.\"}" \ | ||
"https://api.github.com/repos/${{ github.repository }}/issues/$issue/comments" | ||
fi | ||
done |
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,17 @@ | ||
{ | ||
"hosting": { | ||
"public": "build", | ||
"site": "unicollab-38f58", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.