From d508857194c87e4f4831e2dad84d95ba69254091 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 01:53:24 +0000 Subject: [PATCH 1/9] Add workflow --- .github/workflows/secrets.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/secrets.yml diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml new file mode 100644 index 0000000000..5655ef99db --- /dev/null +++ b/.github/workflows/secrets.yml @@ -0,0 +1,9 @@ +name: Testing secrets visibility +on: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - run: echo FOUND + if: ${{ secrets.CODECOV_TOKEN != null }} From d69680fce0ae238ca9ae5dd23c31a0671929162d Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 01:57:58 +0000 Subject: [PATCH 2/9] Fix --- .github/workflows/secrets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 5655ef99db..921fd3ef75 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -6,4 +6,4 @@ jobs: runs-on: ubuntu-latest steps: - run: echo FOUND - if: ${{ secrets.CODECOV_TOKEN != null }} + if: "${{ secrets.CODECOV_TOKEN != null }}" From e76a43be89d42e46486620874f4df275802e814e Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 01:59:31 +0000 Subject: [PATCH 3/9] Fix --- .github/workflows/secrets.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 921fd3ef75..5d10c08070 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -2,8 +2,13 @@ name: Testing secrets visibility on: pull_request: jobs: - test: + # test-codecov: + # runs-on: ubuntu-latest + # steps: + # - run: echo FOUND + # if: "${{ secrets.CODECOV_TOKEN != null }}" + test-github: runs-on: ubuntu-latest steps: - run: echo FOUND - if: "${{ secrets.CODECOV_TOKEN != null }}" + if: "${{ secrets.GITHUB_TOKEN != null }}" From 05c258bb0ee3274d7a390ee8ebe94066e86cd66f Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:00:54 +0000 Subject: [PATCH 4/9] Fix --- .github/workflows/secrets.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 5d10c08070..7f78a982f1 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -2,13 +2,13 @@ name: Testing secrets visibility on: pull_request: jobs: - # test-codecov: - # runs-on: ubuntu-latest - # steps: - # - run: echo FOUND - # if: "${{ secrets.CODECOV_TOKEN != null }}" + test-codecov: + runs-on: ubuntu-latest + if: "${{ secrets.CODECOV_TOKEN != null }}" + steps: + - run: echo FOUND test-github: runs-on: ubuntu-latest + if: "${{ secrets.GITHUB_TOKEN != null }}" steps: - run: echo FOUND - if: "${{ secrets.GITHUB_TOKEN != null }}" From a0f9580561a05edc48c0c48d23f438143f69eac1 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:03:24 +0000 Subject: [PATCH 5/9] Fix --- .github/workflows/secrets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 7f78a982f1..8b4ad1bc9c 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -4,11 +4,11 @@ on: jobs: test-codecov: runs-on: ubuntu-latest - if: "${{ secrets.CODECOV_TOKEN != null }}" + if: secrets.CODECOV_TOKEN != null steps: - run: echo FOUND test-github: runs-on: ubuntu-latest - if: "${{ secrets.GITHUB_TOKEN != null }}" + if: secrets.GITHUB_TOKEN != null steps: - run: echo FOUND From f857866e72308e2c15a96370f2fec6532ba7b4f8 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:04:21 +0000 Subject: [PATCH 6/9] Fix --- .github/workflows/secrets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 8b4ad1bc9c..b49ede3b68 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -4,11 +4,11 @@ on: jobs: test-codecov: runs-on: ubuntu-latest - if: secrets.CODECOV_TOKEN != null + if: ${{ secrets.CODECOV_TOKEN }} != null steps: - run: echo FOUND test-github: runs-on: ubuntu-latest - if: secrets.GITHUB_TOKEN != null + if: ${{ secrets.GITHUB_TOKEN }} != null steps: - run: echo FOUND From d125982898d4b100e4b866737e4a9a95d4a50b89 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:05:40 +0000 Subject: [PATCH 7/9] Fix --- .github/workflows/secrets.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index b49ede3b68..d90918191c 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -4,11 +4,10 @@ on: jobs: test-codecov: runs-on: ubuntu-latest - if: ${{ secrets.CODECOV_TOKEN }} != null steps: - - run: echo FOUND - test-github: - runs-on: ubuntu-latest - if: ${{ secrets.GITHUB_TOKEN }} != null - steps: - - run: echo FOUND + - run: echo ${{ secrets.HELLO }} + # test-github: + # runs-on: ubuntu-latest + # if: ${{ secrets.GITHUB_TOKEN }} != null + # steps: + # - run: echo FOUND From f912f36f72b237eb59f7929f8f03e38f32884b56 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:07:38 +0000 Subject: [PATCH 8/9] Fix --- .github/workflows/secrets.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index d90918191c..a8defae9ee 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -2,12 +2,11 @@ name: Testing secrets visibility on: pull_request: jobs: - test-codecov: + test-testing: runs-on: ubuntu-latest steps: - - run: echo ${{ secrets.HELLO }} - # test-github: - # runs-on: ubuntu-latest - # if: ${{ secrets.GITHUB_TOKEN }} != null - # steps: - # - run: echo FOUND + - run: echo ${{ secrets.TESTING_SECRET }} + test-github: + runs-on: ubuntu-latest + steps: + - run: echo ${{ secrets.GITHUB_TOKEN }} From 8f4b759d0540c6e35ff5714c02648b671ecb9b09 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Fri, 23 Feb 2024 02:08:38 +0000 Subject: [PATCH 9/9] Fix --- .github/workflows/secrets.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index a8defae9ee..8edb8f08c0 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -6,6 +6,10 @@ jobs: runs-on: ubuntu-latest steps: - run: echo ${{ secrets.TESTING_SECRET }} + test-extra: + runs-on: ubuntu-latest + steps: + - run: echo helloworld test-github: runs-on: ubuntu-latest steps: