diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38eb69959..d20d9b868 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master # For scheduled deployment with Cron Jobs. ## Examples of cron schedule expressions: ### '0 * * * *': hourly @@ -13,9 +16,8 @@ on: # - cron: '0 0 * * *' jobs: - deploy: + test: runs-on: ubuntu-22.04 - steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -25,6 +27,22 @@ jobs: export VITE_BASE_DIR="/$(basename $GITHUB_REPOSITORY)/" echo "VITE_BASE_DIR: $VITE_BASE_DIR" ./run.sh + - name: Upload Report Artifact + uses: actions/upload-artifact@v4 + with: + name: reposense-report + path: ./reposense-report + + deploy: + needs: test + runs-on: ubuntu-22.04 + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + steps: + - name: Download Report Artifact + uses: actions/download-artifact@v4 + with: + name: reposense-report + path: ./reposense-report - name: Deploy GitHub pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/.gitignore b/.gitignore index b8553110f..7846b6ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ reposense-report/ RepoSense/ -reposense/ +reposense/ \ No newline at end of file diff --git a/config/author-config.csv b/config/author-config.csv index d6673bfd1..30ecf1416 100644 --- a/config/author-config.csv +++ b/config/author-config.csv @@ -1 +1,2 @@ Repository's Location,Branch,Author's Git Host ID, Author's Emails, Author's Display Name,Author's Git Author Name,Ignore Glob List +,,,,,, \ No newline at end of file diff --git a/config/group-config.csv b/config/group-config.csv new file mode 100644 index 000000000..2940d83c8 --- /dev/null +++ b/config/group-config.csv @@ -0,0 +1,2 @@ +Repository's Location,Group Name,Globs +,, \ No newline at end of file