From e500556607df1d384264dea08875ea2419f2ac89 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 18:51:06 +0200 Subject: [PATCH 1/6] CHECK Signed-off-by: Antonio Navarro Perez --- .github/workflows/lint-pr-title.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index 631f764c37f..b10b11fe658 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -15,6 +15,12 @@ jobs: pr-title: 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"' - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file From a6b19d47c7a265267319a19a4e5f37ee1044774a Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 18:55:40 +0200 Subject: [PATCH 2/6] test Signed-off-by: Antonio Navarro Perez --- .github/workflows/lint-pr-title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index b10b11fe658..47f0ca8fec0 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -17,7 +17,7 @@ jobs: steps: - name: "check is CODECOV_TOKEN exists" env: - super_secret: ${{ secrets.CODECOV_TOKEN }} + 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"' - uses: amannn/action-semantic-pull-request@v5 From cec5f3cefb4e6880629ffc1ef7ea61b22385f2bc Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 18:59:55 +0200 Subject: [PATCH 3/6] test2 Signed-off-by: Antonio Navarro Perez --- .github/workflows/labeler.yml | 5 +++++ .github/workflows/lint-pr-title.yml | 5 ----- .github/workflows/tm2.yml | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) 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 47f0ca8fec0..a2500bb27ed 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -15,11 +15,6 @@ jobs: pr-title: runs-on: ubuntu-latest steps: - - 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"' - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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 From 4db3bbeaa6a21c75817261cc29d611c01cfbb4e9 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 19:01:26 +0200 Subject: [PATCH 4/6] test3 Signed-off-by: Antonio Navarro Perez --- .github/workflows/check-codecov.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/check-codecov.yml diff --git a/.github/workflows/check-codecov.yml b/.github/workflows/check-codecov.yml new file mode 100644 index 00000000000..9f76ca95325 --- /dev/null +++ b/.github/workflows/check-codecov.yml @@ -0,0 +1,13 @@ +name: "CODECOV" +on: +- pull_request_target + +jobs: + codecov: + runs-on: ubuntu-latest + steps: + - 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 From 928c5881aa21146ac35a05de571cbcddab9d48f2 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 19:03:15 +0200 Subject: [PATCH 5/6] . --- .github/workflows/check-codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-codecov.yml b/.github/workflows/check-codecov.yml index 9f76ca95325..f2c33db317d 100644 --- a/.github/workflows/check-codecov.yml +++ b/.github/workflows/check-codecov.yml @@ -1,6 +1,6 @@ name: "CODECOV" on: -- pull_request_target + pull_request: jobs: codecov: From b812669f4d1dce2ec29ac416036403e3b25ae030 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Fri, 17 May 2024 19:04:07 +0200 Subject: [PATCH 6/6] set correct token Signed-off-by: Antonio Navarro Perez --- .github/workflows/check-codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-codecov.yml b/.github/workflows/check-codecov.yml index f2c33db317d..406254dfb9c 100644 --- a/.github/workflows/check-codecov.yml +++ b/.github/workflows/check-codecov.yml @@ -8,6 +8,6 @@ jobs: steps: - name: "check is CODECOV_TOKEN exists" env: - super_secret: ${{ secrets.CODECOV_TOKEN_TWO }} + 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