From 9b41005e05668674790e4bf13c633987a9f51464 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Mon, 29 Jan 2024 13:42:34 +0100 Subject: [PATCH 1/2] feat: Add `update-release-project.yml` and `enforce-linking-issues.yml` --- .github/workflows/enforce-linking-issues.yml | 9 +++++++++ .github/workflows/update-release-project.yml | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/enforce-linking-issues.yml create mode 100644 .github/workflows/update-release-project.yml diff --git a/.github/workflows/enforce-linking-issues.yml b/.github/workflows/enforce-linking-issues.yml new file mode 100644 index 0000000..126a888 --- /dev/null +++ b/.github/workflows/enforce-linking-issues.yml @@ -0,0 +1,9 @@ +name: Enforce linking issues + +on: + pull_request_target: + types: [opened, edited, labeled] + +jobs: + main: + uses: eclipse-zenoh/zenoh/.github/workflows/enforce-linking-issues.yml@main diff --git a/.github/workflows/update-release-project.yml b/.github/workflows/update-release-project.yml new file mode 100644 index 0000000..7d5babb --- /dev/null +++ b/.github/workflows/update-release-project.yml @@ -0,0 +1,13 @@ +name: Update release project + +on: + issues: + types: [opened, edited, labeled] + pull_request_target: + types: [closed] + branches: + - main + +jobs: + main: + uses: eclipse-zenoh/zenoh/.github/workflows/update-release-project.yml@main From 59bd97c2151f489277a9b89cbdcf4063f17a3921 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Tue, 30 Jan 2024 15:34:11 +0100 Subject: [PATCH 2/2] fix: Inherit secrets --- .github/workflows/enforce-linking-issues.yml | 1 + .github/workflows/update-release-project.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/enforce-linking-issues.yml b/.github/workflows/enforce-linking-issues.yml index 126a888..ebeddd9 100644 --- a/.github/workflows/enforce-linking-issues.yml +++ b/.github/workflows/enforce-linking-issues.yml @@ -7,3 +7,4 @@ on: jobs: main: uses: eclipse-zenoh/zenoh/.github/workflows/enforce-linking-issues.yml@main + secrets: inherit diff --git a/.github/workflows/update-release-project.yml b/.github/workflows/update-release-project.yml index 7d5babb..aeda989 100644 --- a/.github/workflows/update-release-project.yml +++ b/.github/workflows/update-release-project.yml @@ -11,3 +11,4 @@ on: jobs: main: uses: eclipse-zenoh/zenoh/.github/workflows/update-release-project.yml@main + secrets: inherit