diff --git a/.github/workflows/check-codecov.yml b/.github/workflows/check-codecov.yml new file mode 100644 index 00000000000..406254dfb9c --- /dev/null +++ b/.github/workflows/check-codecov.yml @@ -0,0 +1,13 @@ +name: "CODECOV" +on: + pull_request: + +jobs: + codecov: + runs-on: ubuntu-latest + steps: + - name: "check is CODECOV_TOKEN exists" + env: + super_secret: ${{ secrets.CODECOV_TOKEN }} + if: ${{ env.super_secret == '' }} + run: 'echo "echo the secret \"CODECOV_TOKEN\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"' \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 06b2daa1d3d..b2747012f43 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,3 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/labeler@v5 + - name: "check is CODECOV_TOKEN exists" + env: + super_secret: ${{ secrets.CODECOV_TOKEN_TWO }} + if: ${{ env.super_secret == '' }} + run: 'echo "echo the secret \"CODECOV_TOKEN\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"' \ No newline at end of file diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index 631f764c37f..a2500bb27ed 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -18,3 +18,4 @@ jobs: - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file diff --git a/.github/workflows/tm2.yml b/.github/workflows/tm2.yml index 7471fd74cb7..868c86d275e 100644 --- a/.github/workflows/tm2.yml +++ b/.github/workflows/tm2.yml @@ -18,3 +18,4 @@ jobs: modulepath: "tm2" secrets: codecov-token: ${{ secrets.CODECOV_TOKEN }} + \ No newline at end of file