From bb555f44d9f84422a119f5109f1b698a628ab2de Mon Sep 17 00:00:00 2001 From: Marco Sanchotene Date: Fri, 7 Oct 2022 15:27:05 -0300 Subject: [PATCH 1/2] Add runs-on directive which was removed from reusable workflow for greater flexibility --- .github/workflows/notarize-immudb4j.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/notarize-immudb4j.yml b/.github/workflows/notarize-immudb4j.yml index d41088f..75c5f45 100644 --- a/.github/workflows/notarize-immudb4j.yml +++ b/.github/workflows/notarize-immudb4j.yml @@ -1,17 +1,16 @@ name: Notarize immudb4j on: - pull_request: + push: branches: - - main + - master - develop - types: - - closed jobs: notarize-repository: name: Notarize immudb4j repository with cas and vcn - uses: codenotary/notarize-with-cas-and-vcn/.github/workflows/notarize-with-cas-and-vcn.yml@main + runs-on: [self-hosted, linux] + uses: codenotary/notarize-with-cas-and-vcn/.github/workflows/notarize-with-cas-and-vcn.yml@862cb3fbee3fbce20bf0e2fae97ac201c730fe23 secrets: cas-api-key: ${{ secrets.CAS_API_KEY_ATTEST }} vcn-api-key: ${{ secrets.CICD_LEDGER1_ACTION_KEY }} From 41eb8eee6973656b201883227b0d78651515c3ef Mon Sep 17 00:00:00 2001 From: Marco Sanchotene Date: Tue, 11 Oct 2022 10:58:06 -0300 Subject: [PATCH 2/2] Update reusable workflow commit and remove runs-on --- .github/workflows/notarize-immudb4j.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/notarize-immudb4j.yml b/.github/workflows/notarize-immudb4j.yml index 75c5f45..6a2f9c2 100644 --- a/.github/workflows/notarize-immudb4j.yml +++ b/.github/workflows/notarize-immudb4j.yml @@ -9,8 +9,7 @@ on: jobs: notarize-repository: name: Notarize immudb4j repository with cas and vcn - runs-on: [self-hosted, linux] - uses: codenotary/notarize-with-cas-and-vcn/.github/workflows/notarize-with-cas-and-vcn.yml@862cb3fbee3fbce20bf0e2fae97ac201c730fe23 + uses: codenotary/notarize-with-cas-and-vcn/.github/workflows/notarize-with-cas-and-vcn.yml@8808d22b40dbd0257dfb456c1ab5505d1020cc54 secrets: cas-api-key: ${{ secrets.CAS_API_KEY_ATTEST }} vcn-api-key: ${{ secrets.CICD_LEDGER1_ACTION_KEY }}