From 36685b4dd4cb20a24e9e7271d97c6e79d9c28453 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 18:40:23 +0530 Subject: [PATCH 01/22] Create blank.yml --- .github/workflows/blank.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..6a2b91b --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From d93db1212b30dbea78fc08f47346fdc713c6b34c Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 18:42:22 +0530 Subject: [PATCH 02/22] Update blank.yml --- .github/workflows/blank.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 6a2b91b..9e62ed6 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -34,3 +34,6 @@ jobs: run: | echo Add other actions to build, echo test, and deploy your project. + + - name: Check Config + run: cat _config.yml From 1469940308b00c66b666b6d22b76b704cdb261b0 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 19:33:29 +0530 Subject: [PATCH 03/22] Update blank.yml --- .github/workflows/blank.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 9e62ed6..2517938 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -37,3 +37,12 @@ jobs: - name: Check Config run: cat _config.yml + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Install dependencies + run: bundle install + - name: Build Jekyll + run: bundle exec jekyll build From 532b0c357639939ffeec20201eb704ff8373425e Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 19:49:52 +0530 Subject: [PATCH 04/22] Update blank.yml --- .github/workflows/blank.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 2517938..d991017 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -46,3 +46,14 @@ jobs: run: bundle install - name: Build Jekyll run: bundle exec jekyll build + + - name: Run Find changed files. + id: changed_files + uses: jackton1/find-changed-files@v1.1 + with: + files: "_config.yml" + - name: Perform action when files change. + if: steps.changed_files.outputs.files_changed == 'true' + run: | + echo "Config files have been changed." + exit 1 From 8929288dee775658974f7307a88ec75d455d1b6d Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 20:27:06 +0530 Subject: [PATCH 05/22] Update blank.yml --- .github/workflows/blank.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index d991017..4d08d25 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -57,3 +57,13 @@ jobs: run: | echo "Config files have been changed." exit 1 + + - name: Smart git diff + uses: LouisBrunner/diff-action@v0.1.0 + with: + old: https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml + new: _config.yml + mode: addition + tolerance: betterru + output: out.txt + From 00748d7e9809050b3acfb94c81f37307b5165f7c Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 20:31:23 +0530 Subject: [PATCH 06/22] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 4d08d25..928104d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -64,6 +64,6 @@ jobs: old: https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml new: _config.yml mode: addition - tolerance: betterru + tolerance: better output: out.txt From 2d9f429d5c08c6c117711368206349cf158e0b3c Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 20:40:09 +0530 Subject: [PATCH 07/22] Update blank.yml --- .github/workflows/blank.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 928104d..d52c0ed 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -26,8 +26,8 @@ jobs: - uses: actions/checkout@v2 # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! + - name: Fetch old config file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml # Runs a set of commands using the runners shell - name: Run a multi-line script @@ -58,10 +58,11 @@ jobs: echo "Config files have been changed." exit 1 + - name: Smart git diff uses: LouisBrunner/diff-action@v0.1.0 with: - old: https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml + old: _config.yml.1 new: _config.yml mode: addition tolerance: better From 1c3d74b150fc54f5e764885d10bd76db65b3500d Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Mon, 1 Feb 2021 20:45:51 +0530 Subject: [PATCH 08/22] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index d52c0ed..f739261 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -65,6 +65,6 @@ jobs: old: _config.yml.1 new: _config.yml mode: addition - tolerance: better + tolerance: same output: out.txt From 90827d8ffa86e2d36247bdd216877ac12b7cc3da Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 01:58:55 +0530 Subject: [PATCH 09/22] Separated out Ruby build --- .github/workflows/jekyllBuild.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/jekyllBuild.yml diff --git a/.github/workflows/jekyllBuild.yml b/.github/workflows/jekyllBuild.yml new file mode 100644 index 0000000..698a960 --- /dev/null +++ b/.github/workflows/jekyllBuild.yml @@ -0,0 +1,34 @@ + + +name: CI + +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Install dependencies + run: bundle install + - name: Build Jekyll + run: bundle exec jekyll build + + From 435cc31c137b5ee8c49f98c755407a69e840e207 Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:05:12 +0530 Subject: [PATCH 10/22] Separated out check for configuration --- .github/workflows/checkConfig.yml | 52 +++++++++++++++++++++++++++++++ .github/workflows/jekyllBuild.yml | 2 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/checkConfig.yml diff --git a/.github/workflows/checkConfig.yml b/.github/workflows/checkConfig.yml new file mode 100644 index 0000000..49c831b --- /dev/null +++ b/.github/workflows/checkConfig.yml @@ -0,0 +1,52 @@ +# This is a basic workflow to help you get started with Actions + +name: Checking _config.yml + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Fetch old config file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml + + + - name: Run Find changed files. + id: changed_files + uses: jackton1/find-changed-files@v1.1 + with: + files: "_config.yml" + - name: Perform action when files change. + if: steps.changed_files.outputs.files_changed == 'true' + run: | + echo "Config files have been changed." + exit 1 + + - name: Smart git diff + uses: LouisBrunner/diff-action@v0.1.0 + with: + old: _config.yml.1 + new: _config.yml + mode: addition + tolerance: same + output: out.txt + diff --git a/.github/workflows/jekyllBuild.yml b/.github/workflows/jekyllBuild.yml index 698a960..9c39b59 100644 --- a/.github/workflows/jekyllBuild.yml +++ b/.github/workflows/jekyllBuild.yml @@ -1,6 +1,6 @@ -name: CI +name: Build Jekyll on: # Triggers the workflow on push or pull request events but only for the master branch From 58bce74b76e48cd2467f2f1678f6f76278a6f68d Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:12:19 +0530 Subject: [PATCH 11/22] Delete blank.yml Removing orginal actions draft --- .github/workflows/blank.yml | 70 ------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml deleted file mode 100644 index f739261..0000000 --- a/.github/workflows/blank.yml +++ /dev/null @@ -1,70 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Fetch old config file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - - - name: Check Config - run: cat _config.yml - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.6 - - name: Install dependencies - run: bundle install - - name: Build Jekyll - run: bundle exec jekyll build - - - name: Run Find changed files. - id: changed_files - uses: jackton1/find-changed-files@v1.1 - with: - files: "_config.yml" - - name: Perform action when files change. - if: steps.changed_files.outputs.files_changed == 'true' - run: | - echo "Config files have been changed." - exit 1 - - - - name: Smart git diff - uses: LouisBrunner/diff-action@v0.1.0 - with: - old: _config.yml.1 - new: _config.yml - mode: addition - tolerance: same - output: out.txt - From 1da6317df4ed44d663fd964e3690e43a260f6923 Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:20:32 +0530 Subject: [PATCH 12/22] Draft for actions of data files --- .github/workflows/checkData.yml | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/checkData.yml diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml new file mode 100644 index 0000000..230dc29 --- /dev/null +++ b/.github/workflows/checkData.yml @@ -0,0 +1,44 @@ + + +name: Checking _config.yml + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + paths: [ '_data/**' ] + pull_request: + branches: [ master ] + paths: [ '_data/**' ] + + + workflow_dispatch: + + +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Fetch old config file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml + + + - name: Run Find changed files. + id: changed_files + uses: jackton1/find-changed-files@v1.1 + with: + files: "education.yml" + - name: Perform action when files change. + if: steps.changed_files.outputs.files_changed == 'true' + run: | + echo "Config files have been changed." + exit 1 + + From 0af7c69614b910898ccd323f69f63abc20271fe0 Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:22:23 +0530 Subject: [PATCH 13/22] data files actions --- .github/workflows/checkData.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index 230dc29..289b7a1 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -1,6 +1,6 @@ -name: Checking _config.yml +name: Checking Data files # Controls when the action will run. on: From 035053de37be9588c8dfed40d49d06d423b7bb87 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:24:07 +0530 Subject: [PATCH 14/22] Update checkData.yml --- .github/workflows/checkData.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index 289b7a1..b1d1785 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -6,10 +6,8 @@ name: Checking Data files on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] paths: [ '_data/**' ] pull_request: - branches: [ master ] paths: [ '_data/**' ] From ddbcc25f61ac703bd6f3c1fae06add298f4d5025 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:28:32 +0530 Subject: [PATCH 15/22] Update checkData.yml --- .github/workflows/checkData.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index b1d1785..61234c3 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -6,9 +6,9 @@ name: Checking Data files on: # Triggers the workflow on push or pull request events but only for the master branch push: - paths: [ '_data/**' ] + branches: [ master ] pull_request: - paths: [ '_data/**' ] + branches: [ master ] workflow_dispatch: @@ -18,21 +18,25 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - name: Fetch old config file run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml - name: Run Find changed files. + id: changed_files uses: jackton1/find-changed-files@v1.1 + with: - files: "education.yml" + files: "_data/education.yml" - name: Perform action when files change. if: steps.changed_files.outputs.files_changed == 'true' run: | From 576b4935823b0eed71ccbba82b3effec5651ac38 Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:32:50 +0530 Subject: [PATCH 16/22] Updating for education data --- .github/workflows/checkConfig.yml | 10 ++++------ .github/workflows/checkData.yml | 13 +++++++++++-- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checkConfig.yml b/.github/workflows/checkConfig.yml index 49c831b..9c9ce29 100644 --- a/.github/workflows/checkConfig.yml +++ b/.github/workflows/checkConfig.yml @@ -1,4 +1,4 @@ -# This is a basic workflow to help you get started with Actions + name: Checking _config.yml @@ -10,22 +10,20 @@ on: pull_request: branches: [ master ] - # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel + jobs: - # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job + steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - # Runs a single command using the runners shell - name: Fetch old config file run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index 61234c3..44ec4ec 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -26,8 +26,8 @@ jobs: - uses: actions/checkout@v2 - - name: Fetch old config file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml + - name: Fetch old education file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/education.yml - name: Run Find changed files. @@ -42,5 +42,14 @@ jobs: run: | echo "Config files have been changed." exit 1 + + - name: Smart git diff + uses: LouisBrunner/diff-action@v0.1.0 + with: + old: education.yml + new: _data/education.yml + mode: addition + tolerance: same + output: out.txt From db6d2cc8c046067beae8825afb53aa30d1ca852e Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:36:49 +0530 Subject: [PATCH 17/22] Updating for experience data --- .github/workflows/checkData.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index 44ec4ec..2bedb46 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -30,20 +30,7 @@ jobs: run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/education.yml - - name: Run Find changed files. - - id: changed_files - uses: jackton1/find-changed-files@v1.1 - - with: - files: "_data/education.yml" - - name: Perform action when files change. - if: steps.changed_files.outputs.files_changed == 'true' - run: | - echo "Config files have been changed." - exit 1 - - - name: Smart git diff + - name: Checking for changes in education.yml uses: LouisBrunner/diff-action@v0.1.0 with: old: education.yml @@ -51,5 +38,18 @@ jobs: mode: addition tolerance: same output: out.txt + + - name: Fetch old experience file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/experience.yml + + + - name: Checking for changes in experience.yml + uses: LouisBrunner/diff-action@v0.1.0 + with: + old: experience.yml + new: _data/experience.yml + mode: addition + tolerance: same + output: out.txt From 797d7638c888b8c698f960067800164b339d2c1c Mon Sep 17 00:00:00 2001 From: felixfaisal Date: Tue, 2 Feb 2021 02:39:44 +0530 Subject: [PATCH 18/22] Updating for project data --- .github/workflows/checkData.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index 2bedb46..fe75b30 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -51,5 +51,18 @@ jobs: mode: addition tolerance: same output: out.txt + + - name: Fetch old projects file + run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/projects.yml + + + - name: Checking for changes in projects.yml + uses: LouisBrunner/diff-action@v0.1.0 + with: + old: projects.yml + new: _data/projects.yml + mode: addition + tolerance: same + output: out.txt From 3c89f82ba43587a5afdb76cccefdf2bf7564c6dc Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:53:08 +0530 Subject: [PATCH 19/22] Update checkData.yml --- .github/workflows/checkData.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index fe75b30..c4324fe 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -49,7 +49,7 @@ jobs: old: experience.yml new: _data/experience.yml mode: addition - tolerance: same + tolerance: same, mixed output: out.txt - name: Fetch old projects file From e37399c0d78e6e0c4e8eba4d186c799c838b96f7 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:54:04 +0530 Subject: [PATCH 20/22] Update checkData.yml --- .github/workflows/checkData.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml index c4324fe..fe75b30 100644 --- a/.github/workflows/checkData.yml +++ b/.github/workflows/checkData.yml @@ -49,7 +49,7 @@ jobs: old: experience.yml new: _data/experience.yml mode: addition - tolerance: same, mixed + tolerance: same output: out.txt - name: Fetch old projects file From b275ee4843ee758c5c93c30725b701c0e2cd9557 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:58:28 +0530 Subject: [PATCH 21/22] Delete checkConfig.yml --- .github/workflows/checkConfig.yml | 50 ------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/checkConfig.yml diff --git a/.github/workflows/checkConfig.yml b/.github/workflows/checkConfig.yml deleted file mode 100644 index 9c9ce29..0000000 --- a/.github/workflows/checkConfig.yml +++ /dev/null @@ -1,50 +0,0 @@ - - -name: Checking _config.yml - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - - workflow_dispatch: - - -jobs: - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Fetch old config file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_config.yml - - - - name: Run Find changed files. - id: changed_files - uses: jackton1/find-changed-files@v1.1 - with: - files: "_config.yml" - - name: Perform action when files change. - if: steps.changed_files.outputs.files_changed == 'true' - run: | - echo "Config files have been changed." - exit 1 - - - name: Smart git diff - uses: LouisBrunner/diff-action@v0.1.0 - with: - old: _config.yml.1 - new: _config.yml - mode: addition - tolerance: same - output: out.txt - From 6d7650dc9ad23162e3d7cd838999f6a0b93066ac Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 02:58:37 +0530 Subject: [PATCH 22/22] Delete checkData.yml --- .github/workflows/checkData.yml | 68 --------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 .github/workflows/checkData.yml diff --git a/.github/workflows/checkData.yml b/.github/workflows/checkData.yml deleted file mode 100644 index fe75b30..0000000 --- a/.github/workflows/checkData.yml +++ /dev/null @@ -1,68 +0,0 @@ - - -name: Checking Data files - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - - workflow_dispatch: - - -jobs: - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - - - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - - name: Fetch old education file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/education.yml - - - - name: Checking for changes in education.yml - uses: LouisBrunner/diff-action@v0.1.0 - with: - old: education.yml - new: _data/education.yml - mode: addition - tolerance: same - output: out.txt - - - name: Fetch old experience file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/experience.yml - - - - name: Checking for changes in experience.yml - uses: LouisBrunner/diff-action@v0.1.0 - with: - old: experience.yml - new: _data/experience.yml - mode: addition - tolerance: same - output: out.txt - - - name: Fetch old projects file - run: wget https://raw.githubusercontent.com/MLH-Fellowship/portfolio-template/master/_data/projects.yml - - - - name: Checking for changes in projects.yml - uses: LouisBrunner/diff-action@v0.1.0 - with: - old: projects.yml - new: _data/projects.yml - mode: addition - tolerance: same - output: out.txt - -