diff --git a/.github/workflows/motivational-fortune-cookie.yml b/.github/workflows/motivational-fortune-cookie.yml index ccb5fb2..8d628d6 100644 --- a/.github/workflows/motivational-fortune-cookie.yml +++ b/.github/workflows/motivational-fortune-cookie.yml @@ -1,26 +1,28 @@ -name: Patience Quotes/Memes for PRs - +name: Motivational Quotes on: - pull_request: - types: [opened] + push: + branches: + - master jobs: - add-patience-quote: + motivational_quotes: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Add Patience Quote + - name: Get Motivational Quote + id: get_quote run: | quotes=( - "Patience is not the ability to wait, but the ability to keep a good attitude while waiting." - "Patience is bitter, but its fruit is sweet." - "The two most powerful warriors are patience and time." - "Patience is the companion of wisdom." - "Patience, persistence, and perspiration make an unbeatable combination for success." + "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" ) - selected_quote=${quotes[$RANDOM % ${#quotes[@]}]} - echo "##[set-output name=quote]${selected_quote}" - echo "Patience Quote: ${selected_quote}" >> $GITHUB_EVENT_PATH + echo "QUOTE=${quotes[$(( RANDOM % ${#quotes[@]} ))]}" >> $GITHUB_ENV + + - name: Display Motivational Quote + run: echo "Motivational Quote:${{ env.QUOTE }}" diff --git a/README (2).md b/README (2).md new file mode 100644 index 0000000..faaf921 --- /dev/null +++ b/README (2).md @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7efff65 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +mmmmmmmmmmmmmm diff --git a/read2.md b/read2.md new file mode 100644 index 0000000..b257e44 --- /dev/null +++ b/read2.md @@ -0,0 +1 @@ +ENTER