From af36782c17b6e58b0dbf4edc54e328b191e9536c Mon Sep 17 00:00:00 2001 From: Ramiz Polic <32913827+ramizpolic@users.noreply.github.com> Date: Wed, 29 Nov 2023 12:26:55 +0100 Subject: [PATCH] fix: use better naming for GA (#8) --- .github/workflows/{_pr-sync.yml => _pr-common.yml} | 2 +- .github/workflows/{_project-sync.yml => _project-common.yml} | 2 +- .github/workflows/{pr-sync.yml => pr.yml} | 4 ++-- .github/workflows/{project-sync.yml => project.yml} | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{_pr-sync.yml => _pr-common.yml} (99%) rename .github/workflows/{_project-sync.yml => _project-common.yml} (99%) rename .github/workflows/{pr-sync.yml => pr.yml} (77%) rename .github/workflows/{project-sync.yml => project.yml} (71%) diff --git a/.github/workflows/_pr-sync.yml b/.github/workflows/_pr-common.yml similarity index 99% rename from .github/workflows/_pr-sync.yml rename to .github/workflows/_pr-common.yml index 3d64310..a13dc7e 100644 --- a/.github/workflows/_pr-sync.yml +++ b/.github/workflows/_pr-common.yml @@ -1,6 +1,6 @@ # This action needs works for "pull_request" and "pull_request_target" triggers -name: _pr-sync +name: _pr-common on: workflow_call: diff --git a/.github/workflows/_project-sync.yml b/.github/workflows/_project-common.yml similarity index 99% rename from .github/workflows/_project-sync.yml rename to .github/workflows/_project-common.yml index 8142b2b..efb3f77 100644 --- a/.github/workflows/_project-sync.yml +++ b/.github/workflows/_project-common.yml @@ -1,6 +1,6 @@ # This action works for any trigger -name: _project-sync +name: _project-common on: workflow_call: diff --git a/.github/workflows/pr-sync.yml b/.github/workflows/pr.yml similarity index 77% rename from .github/workflows/pr-sync.yml rename to .github/workflows/pr.yml index f84aa6f..d334bfa 100644 --- a/.github/workflows/pr-sync.yml +++ b/.github/workflows/pr.yml @@ -9,8 +9,8 @@ on: - synchronize jobs: - sync: - uses: ./.github/workflows/_pr-sync.yml + common: + uses: ./.github/workflows/_pr-common.yml permissions: pull-requests: write issues: write diff --git a/.github/workflows/project-sync.yml b/.github/workflows/project.yml similarity index 71% rename from .github/workflows/project-sync.yml rename to .github/workflows/project.yml index 1936c28..e9a8cc9 100644 --- a/.github/workflows/project-sync.yml +++ b/.github/workflows/project.yml @@ -6,8 +6,8 @@ on: workflow_dispatch: jobs: - sync: - uses: ./.github/workflows/_project-sync.yml + common: + uses: ./.github/workflows/_project-common.yml permissions: issues: write pull-requests: write