Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions .github/workflows/motivational-fortune-cookie.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
name: Motivational Fortune Cookie

name: Motivational Quotes
on:
issues:
types: [opened]
push:
branches:
- main
branches:
- master

jobs:
add-fortune-cookie:
motivational_quotes:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Add Motivational Fortune Cookie
- name: Get Motivational Quote
id: get_quote
run: |
echo "::set-output name=message::$(curl -s https://api.quotable.io/random | jq -r '.content')"
echo "The Motivational Fortune Cookie says: $message" >> $GITHUB_EVENT_PATH
echo "::set-output name=message::$message"
quotes=(
"Success is not final, failure is not fatal: It is the courage to continue that counts. - Winston Churchill"
"Believe you can and you're halfway there. - Theodore Roosevelt"
"The only limit to our realization of tomorrow will be our doubts of today. - Franklin D. Roosevelt"
"Your time is limited, don't waste it living someone else's life. - Steve Jobs"
"The future belongs to those who believe in the beauty of their dreams. - Eleanor Roosevelt"
)
echo "QUOTE=${quotes[$(( RANDOM % ${#quotes[@]} ))]}" >> $GITHUB_ENV

- name: Display Motivational Quote
run: echo "Motivational Quote:${{ env.QUOTE }}"
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

9 changes: 9 additions & 0 deletions README (2).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
NAME:Aditya Sarthak

ROLL NO.:220101007

BRANCH:CSE

My name is Aditya Sarthak from CSE department.I come from Patna,Bihar.My hobbies include playing volleyball and cricket.I want to join coding club in order to deepdive in the technical universe and pursue my interests in this field.
I want to contribute to open source because it will help me to meet more like minded people sharing similiar interests as myself and wiuld help me in expanding my knowledge.
Moreover, I am into web development and hence this open source would help me get new templates and ideas for developing more interactive and useful websites.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I want to contribute to open source because it will help me in developing various skills in the technical field and keep me up to date with various updates coming in the technical world.
mmmmmmmmmmmmmm
Binary file removed Sourcecode2.docx
Binary file not shown.
36 changes: 0 additions & 36 deletions blank.yml

This file was deleted.

Empty file removed error6.txt
Empty file.
File renamed without changes.
1 change: 1 addition & 0 deletions read2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ENTER
Empty file removed souce.docx
Empty file.
2 changes: 0 additions & 2 deletions sourceCode.txt

This file was deleted.