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