From b2c7698671c1fea43cbda79cd20c2602843247f1 Mon Sep 17 00:00:00 2001 From: Jim Crossley Date: Tue, 1 Oct 2024 09:41:33 -0400 Subject: [PATCH 1/4] secrets can only be used in environment and inputs Signed-off-by: Jim Crossley --- .github/workflows/rita-pr-merged.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rita-pr-merged.yaml b/.github/workflows/rita-pr-merged.yaml index ea59f0f0d..e3859e81a 100644 --- a/.github/workflows/rita-pr-merged.yaml +++ b/.github/workflows/rita-pr-merged.yaml @@ -15,7 +15,7 @@ env: jobs: notify_channel: runs-on: ubuntu-22.04 - if: github.event.pull_request.merged == true + if: env.PASSWORD && github.event.pull_request.merged steps: - name: Send message run: | From 841a6d1d42b48a3d7842bd38600dfd8ec1d1ad4b Mon Sep 17 00:00:00 2001 From: Jim Crossley Date: Tue, 1 Oct 2024 10:26:40 -0400 Subject: [PATCH 2/4] foo Signed-off-by: Jim Crossley --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb5cf1689..476ce94bc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# trustify +### trustify [![ci](https://github.com/trustification/trustify/actions/workflows/ci.yaml/badge.svg)](https://github.com/trustification/trustify/actions/workflows/ci.yaml) From 244da4ffcc9f550122429bdcc992edd042446672 Mon Sep 17 00:00:00 2001 From: Jim Crossley Date: Tue, 1 Oct 2024 10:38:24 -0400 Subject: [PATCH 3/4] lkjsdf Signed-off-by: Jim Crossley --- .github/workflows/rita-new-pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rita-new-pr.yaml b/.github/workflows/rita-new-pr.yaml index aa02d29b0..59e5cb167 100644 --- a/.github/workflows/rita-new-pr.yaml +++ b/.github/workflows/rita-new-pr.yaml @@ -17,7 +17,7 @@ env: jobs: notify_channel: runs-on: ubuntu-22.04 - if: github.event.pull_request.draft == false + if: env.PASSWORD && github.event.pull_request.draft == false steps: - name: Send message run: | From 0ab1390720a4f3bce7dcc15a0799ca9b6d45d8e1 Mon Sep 17 00:00:00 2001 From: Jim Crossley Date: Tue, 1 Oct 2024 10:46:18 -0400 Subject: [PATCH 4/4] add parens Signed-off-by: Jim Crossley --- .github/workflows/rita-new-pr.yaml | 2 +- .github/workflows/rita-pr-merged.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rita-new-pr.yaml b/.github/workflows/rita-new-pr.yaml index 59e5cb167..0af9e0ef6 100644 --- a/.github/workflows/rita-new-pr.yaml +++ b/.github/workflows/rita-new-pr.yaml @@ -17,7 +17,7 @@ env: jobs: notify_channel: runs-on: ubuntu-22.04 - if: env.PASSWORD && github.event.pull_request.draft == false + if: ${{ env.PASSWORD && github.event.pull_request.draft == false }} steps: - name: Send message run: | diff --git a/.github/workflows/rita-pr-merged.yaml b/.github/workflows/rita-pr-merged.yaml index e3859e81a..3c1594cc0 100644 --- a/.github/workflows/rita-pr-merged.yaml +++ b/.github/workflows/rita-pr-merged.yaml @@ -15,7 +15,7 @@ env: jobs: notify_channel: runs-on: ubuntu-22.04 - if: env.PASSWORD && github.event.pull_request.merged + if: ${{ env.PASSWORD && github.event.pull_request.merged }} steps: - name: Send message run: |