From b2bc5c694ec4f004e1602d3c68c985ad0c84c572 Mon Sep 17 00:00:00 2001 From: Ramiz Polic <32913827+ramizpolic@users.noreply.github.com> Date: Wed, 29 Nov 2023 18:27:10 +0100 Subject: [PATCH] feat(GA): add common pipeline actions (#23) --- .github/workflows/pr.yml | 16 ++++++++++++++++ .github/workflows/project.yml | 13 +++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/pr.yml create mode 100644 .github/workflows/project.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..150b296 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,16 @@ +name: PR + +on: + pull_request_target: + types: + - opened + - edited + - reopened + - synchronize + +jobs: + common: + uses: bank-vaults/.github/.github/workflows/_pr-common.yml@main + permissions: + pull-requests: write + issues: write diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml new file mode 100644 index 0000000..dbfcfac --- /dev/null +++ b/.github/workflows/project.yml @@ -0,0 +1,13 @@ +name: Project + +on: + schedule: + - cron: "0 0 * * 0" + workflow_dispatch: + +jobs: + common: + uses: bank-vaults/.github/.github/workflows/_project-common.yml@main + permissions: + issues: write + pull-requests: write