From 554eef0040797f643e10d285417ef5baa7745c8e Mon Sep 17 00:00:00 2001 From: maratsh <533533+maratsh@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:19:24 +0200 Subject: [PATCH] fix: release-process (#21) --- .github/workflows/{on-push.yaml => checks.yaml} | 12 ++++-------- .github/workflows/release.yaml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) rename .github/workflows/{on-push.yaml => checks.yaml} (52%) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/on-push.yaml b/.github/workflows/checks.yaml similarity index 52% rename from .github/workflows/on-push.yaml rename to .github/workflows/checks.yaml index 1820b72..ec44ee7 100644 --- a/.github/workflows/on-push.yaml +++ b/.github/workflows/checks.yaml @@ -1,18 +1,14 @@ -name: on-push +name: checks on: - push: - branches: - - main pull_request_target: types: - opened - synchronize - + jobs: - rust-workflow: - uses: affinidi/pipeline-rust/.github/workflows/on-push.yaml@main + rust-pipeline: + uses: affinidi/pipeline-rust/.github/workflows/checks.yaml@main secrets: inherit with: auditIgnore: "RUSTSEC-2022-0040,RUSTSEC-2023-0071,RUSTSEC-2024-0373" - publish_dry_run: false diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..e647284 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,14 @@ +name: "release" + +on: + push: + branches: + - main + + +jobs: + rust-pipeline: + uses: affinidi/pipeline-rust/.github/workflows/release.yaml@main + secrets: inherit + with: + auditIgnore: "RUSTSEC-2022-0040,RUSTSEC-2023-0071,RUSTSEC-2024-0373" \ No newline at end of file