diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c9430479c..8a5859d11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,8 +8,8 @@ on: - 'LICENSE' - 'docs/**' push: - tags-ignore: - - '*' +# tags-ignore: +# - '*' paths-ignore: - '.txt' - '*.MD' @@ -59,8 +59,10 @@ jobs: resource: http://127.0.0.1:8080/WebGoat - name: Test with Robotframework run: python3 -m robot --variable HEADLESS:"1" --outputdir robotreport robot/goat.robot - #- name: Send report to commit - # uses: joonvena/robotframework-reporter-action@v2.1 - # with: - # gh_access_token: ${{ secrets.GITHUB_TOKEN }} - # report_path: 'robotreport' + # send report to forks only due to limits on permission tokens + - name: Send report to commit + if: github.repository != 'WebGoat/WebGoat' && github.event_name == 'push' + uses: joonvena/robotframework-reporter-action@v2.1 + with: + gh_access_token: ${{ secrets.GITHUB_TOKEN }} + report_path: 'robotreport'