From 1bf30fc4a4216d99a905e871d1af74f700eb4801 Mon Sep 17 00:00:00 2001 From: Shashank Dangi <91678732+shashankdangi@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:10:22 +0900 Subject: [PATCH 1/3] Added Bluesky share link url to social media links and its logo in the logos and also to the options of share --- Contributors.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Contributors.md b/Contributors.md index 033ed1db355..e3851a0dcbd 100644 --- a/Contributors.md +++ b/Contributors.md @@ -1,6 +1,7 @@ # Contributors - Hey there, I'm Harsh Patel. Let the world know, this is my first commit, marking the start of an incredible journey into open source! 🌟 Check out my [GitHub](https://github.com/cm-harshpatel)! **You are capable of amazing things; keep shining and making the world brighter!** - Hi, I am NNS from Myanmar (https://github.com/NyeinNyein88/) +- Hi , I'm Shashank[シャシャンク] from Osaka , Japan .[Github](https://github.com/shashankdangi)  - Hi, I am Topgrace from SouthKorea - Hi, I am Nick P from USA - Hi, my name is Emin Mammdov from Azerbaijan From a993d557adaf750933ef393deb28432537ef5c4a Mon Sep 17 00:00:00 2001 From: Shashank Dangi <91678732+shashankdangi@users.noreply.github.com> Date: Fri, 29 Nov 2024 22:18:23 +0900 Subject: [PATCH 2/3] Blue Sky share link --- .github/workflows/auto-pr-merge.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/auto-pr-merge.yml b/.github/workflows/auto-pr-merge.yml index 67b9848b439..246fea51690 100644 --- a/.github/workflows/auto-pr-merge.yml +++ b/.github/workflows/auto-pr-merge.yml @@ -3,8 +3,8 @@ on: pull_request_target: types: [opened, synchronize] paths: - - 'Contributors.md' # <- only run if only contributors file changed - + - "Contributors.md" # <- only run if only contributors file changed + jobs: auto-merge: runs-on: ubuntu-latest @@ -12,7 +12,7 @@ jobs: contents: write pull-requests: write issues: write - + steps: # Check out the repository code - name: Checkout code @@ -31,7 +31,7 @@ jobs: FILES_CHANGED=$(echo $PR_FILES | tr '\n' ' ') echo "files_changed=$FILES_CHANGED" >> $GITHUB_ENV - + if [[ "${FILES_CHANGED// /}" == "Contributors.md" ]]; then echo "only_contributors=true" >> $GITHUB_ENV @@ -55,7 +55,7 @@ jobs: echo "one_line_change=false" >> $GITHUB_ENV fi - # Merge the pull request if it only modifies the Contributors.md file or if it fail to do then drop failure message as post + # Merge the pull request if it only modifies the Contributors.md file or if it fail to do then drop failure message as post - name: Merge PR id: merge_pr if: env.only_contributors == 'true' && env.one_line_change == 'true' @@ -101,6 +101,8 @@ jobs: const linkedin_share_link = 'https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/firstcontributions/first-contributions'; const dev_share_link = "https://dev.to/new?prefill=---%0Atitle%3A%20First%20Contributions%3A%20learn%20how%20to%20contribute%20to%20open%20source%20projects%0Apublished%3A%20true%0Atags%3A%20opensource%2C%20beginners%2C%20tutorial%0A---%0A%0AI%20followed%20the%20hands-on%20tutorial%20in%20the%20Readme%20of%20first%20contributions%20and%20made%20my%20first%20pull%20request%20to%20the%20same%20repo.%0A%0A%0A%7B%25%20embed%20https%3A%2F%2Fgithub.com%2Ffirstcontributions%2Ffirst-contributions%20%25%7D"; const hackernews_share_link = 'https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2Ffirstcontributions%2Ffirst-contributions&t=Show%20HN%3A%20Hands%20on%20tutorial%20for%20open%20source%20contribution' + const bluesky_share_link = 'https://bsky.app/intent/compose?text=I%20just%20made%20my%20first%20contribution%20to%20open%20source%20with%20First%20Contributions!%20🎉%20Check%20it%20out:%20https://firstcontributions.github.io/' + // social logo const repo_logo = "https://avatars0.githubusercontent.com/u/65761570?s=88&u=640f39b808c75c6b86460aa907dd030bcca2f3c7&v=4" @@ -111,6 +113,7 @@ jobs: const linkedin_logo = "https://edent.github.io/SuperTinyIcons/images/svg/linkedin.svg"; const dev_logo = "https://edent.github.io/SuperTinyIcons/images/svg/dev_to.svg"; const hackernews_logo = "https://edent.github.io/SuperTinyIcons/images/svg/hackernews.svg"; + const bluesky_logo = "https://edent.github.io/SuperTinyIcons/images/svg/bluesky.svg"; @@ -118,7 +121,7 @@ jobs: const greeting = `Hello @${username}, congratulations! You've successfully submitted a pull request. 🎉`; const starRepoMessage = `If you liked the tutorial, please star this repo by clicking the star button on the top right of this page. star screenshot`; - const nextSteps = `# Next steps \n - Continue contributing: If you're looking for projects to contribute to, checkout our [ webapp](${web_url}). \n - Join our Slack group: We have a community to help/support contributors. [ Join slack group](${slack_invite_url}). \n - Share on social media: You can share this content to help more people. [ twitter tweet](${twitter_tweet_share}). [twitter share](${fb_share_link}). [ reddit share](${reddit_link}). [linkedin post](${linkedin_share_link}). [devio publish](${dev_share_link}). [ Post on HackerNews](${hackernews_share_link}).`; + const nextSteps = `# Next steps \n - Continue contributing: If you're looking for projects to contribute to, checkout our [ webapp](${web_url}). \n - Join our Slack group: We have a community to help/support contributors. [ Join slack group](${slack_invite_url}). \n - Share on social media: You can share this content to help more people. [ twitter tweet](${twitter_tweet_share}). [twitter share](${fb_share_link}). [ reddit share](${reddit_link}). [linkedin post](${linkedin_share_link}). [devio publish](${dev_share_link}). [ Post on HackerNews](${hackernews_share_link}). [ Post on Bluesky](${bluesky_share_link}).`; const feedbackMessage = `We'd love to hear your thoughts about this project. Let us know how we can improve by commenting or opening an issue here.`; const gif = `![celebration gif](${getRandomGif()})`; @@ -213,5 +216,5 @@ jobs: body: body }); } - + github-token: ${{ secrets.GITHUB_TOKEN }} From 4d4e5f9722fd34c878ea74b4e051607772e96f94 Mon Sep 17 00:00:00 2001 From: Shashank Dangi <91678732+shashankdangi@users.noreply.github.com> Date: Sat, 30 Nov 2024 06:04:37 +0000 Subject: [PATCH 3/3] Shared the Github repo link instead of website link and Changed the share list into bulleted list , swapped twitter and blueSky order --- .github/workflows/auto-pr-merge.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-pr-merge.yml b/.github/workflows/auto-pr-merge.yml index 246fea51690..470c9b7f621 100644 --- a/.github/workflows/auto-pr-merge.yml +++ b/.github/workflows/auto-pr-merge.yml @@ -101,8 +101,9 @@ jobs: const linkedin_share_link = 'https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/firstcontributions/first-contributions'; const dev_share_link = "https://dev.to/new?prefill=---%0Atitle%3A%20First%20Contributions%3A%20learn%20how%20to%20contribute%20to%20open%20source%20projects%0Apublished%3A%20true%0Atags%3A%20opensource%2C%20beginners%2C%20tutorial%0A---%0A%0AI%20followed%20the%20hands-on%20tutorial%20in%20the%20Readme%20of%20first%20contributions%20and%20made%20my%20first%20pull%20request%20to%20the%20same%20repo.%0A%0A%0A%7B%25%20embed%20https%3A%2F%2Fgithub.com%2Ffirstcontributions%2Ffirst-contributions%20%25%7D"; const hackernews_share_link = 'https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2Ffirstcontributions%2Ffirst-contributions&t=Show%20HN%3A%20Hands%20on%20tutorial%20for%20open%20source%20contribution' - const bluesky_share_link = 'https://bsky.app/intent/compose?text=I%20just%20made%20my%20first%20contribution%20to%20open%20source%20with%20First%20Contributions!%20🎉%20Check%20it%20out:%20https://firstcontributions.github.io/' - + const bluesky_share_link = 'https://bsky.app/intent/compose?text=I%20just%20made%20my%20first%20contribution%20to%20open%20source%20with%20First%20Contributions!%20🎉%20Check%20it%20out:%20https%3A%2F%2Fgithub.com%2Ffirstcontributions%2Ffirst-contributions +' + // social logo const repo_logo = "https://avatars0.githubusercontent.com/u/65761570?s=88&u=640f39b808c75c6b86460aa907dd030bcca2f3c7&v=4" @@ -121,7 +122,7 @@ jobs: const greeting = `Hello @${username}, congratulations! You've successfully submitted a pull request. 🎉`; const starRepoMessage = `If you liked the tutorial, please star this repo by clicking the star button on the top right of this page. star screenshot`; - const nextSteps = `# Next steps \n - Continue contributing: If you're looking for projects to contribute to, checkout our [ webapp](${web_url}). \n - Join our Slack group: We have a community to help/support contributors. [ Join slack group](${slack_invite_url}). \n - Share on social media: You can share this content to help more people. [ twitter tweet](${twitter_tweet_share}). [twitter share](${fb_share_link}). [ reddit share](${reddit_link}). [linkedin post](${linkedin_share_link}). [devio publish](${dev_share_link}). [ Post on HackerNews](${hackernews_share_link}). [ Post on Bluesky](${bluesky_share_link}).`; + const nextSteps = `# Next steps \n - Continue contributing: If you're looking for projects to contribute to, checkout our [ webapp](${web_url}). \n - Join our Slack group: We have a community to help/support contributors. [ Join slack group](${slack_invite_url}). \n - Share on social media: You can share this content to help more people. \n -[ Post on Bluesky](${bluesky_share_link}). \n - [facebook share](${fb_share_link}).\n - [ reddit share](${reddit_link}).\n - [linkedin post](${linkedin_share_link}). \n -[devio publish](${dev_share_link}).\n - [ Post on HackerNews](${hackernews_share_link}). \n -[ twitter tweet](${twitter_tweet_share}).`; const feedbackMessage = `We'd love to hear your thoughts about this project. Let us know how we can improve by commenting or opening an issue here.`; const gif = `![celebration gif](${getRandomGif()})`;