From fd9a53cd5b4fb07df6e69e4503abbd94630bbd6f Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Fri, 25 Jul 2025 22:23:53 +0900 Subject: [PATCH 1/2] Release to Alpine ROS 1 --- .github/workflows/alpine-ros1-release.yaml | 19 +++++++++++++++++++ .github/workflows/create-release.yaml | 14 ++++++++++++++ .github/workflows/release-candidate.yaml | 21 +++++++++++++++++++++ .github/workflows/test.yaml | 10 ++++++++++ 4 files changed, 64 insertions(+) create mode 100644 .github/workflows/alpine-ros1-release.yaml create mode 100644 .github/workflows/create-release.yaml create mode 100644 .github/workflows/release-candidate.yaml create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/alpine-ros1-release.yaml b/.github/workflows/alpine-ros1-release.yaml new file mode 100644 index 0000000..b8cd801 --- /dev/null +++ b/.github/workflows/alpine-ros1-release.yaml @@ -0,0 +1,19 @@ +name: release +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + release: + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/alpine-ros1-release.yaml@main + with: + release-ref: ${{ github.event.release.tag_name }} + source-branch: master + git-user: Atsushi Watanabe + git-email: 8390204+at-wat@users.noreply.github.com + dry-run: false + secrets: + token: ${{ secrets.BLOOM_GITHUB_TOKEN }} diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml new file mode 100644 index 0000000..6b199f4 --- /dev/null +++ b/.github/workflows/create-release.yaml @@ -0,0 +1,14 @@ +name: auto-release +on: + push: + branches: + - master + +permissions: + contents: read + +jobs: + auto-release: + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/auto-release.yaml@main + secrets: + token: ${{ secrets.BLOOM_GITHUB_TOKEN }} diff --git a/.github/workflows/release-candidate.yaml b/.github/workflows/release-candidate.yaml new file mode 100644 index 0000000..49882cc --- /dev/null +++ b/.github/workflows/release-candidate.yaml @@ -0,0 +1,21 @@ +name: release-candidate +on: + issues: + types: [opened, reopened, edited] + +permissions: + contents: write + +jobs: + release-candidate: + if: startsWith(github.event.issue.title, 'Release ') + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/ros1-release-candidate.yaml@main + with: + release-title: ${{ github.event.issue.title }} + branch: master + git-user: Atsushi Watanabe + git-email: 8390204+at-wat@users.noreply.github.com + pr-body: "close #${{ github.event.issue.number }}" + pr-assignee: ${{ github.actor }} + secrets: + token: ${{ secrets.BLOOM_GITHUB_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..a968ac6 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,10 @@ +name: ci +on: + pull_request: + push: + branches: + - master + +jobs: + test: + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/ros1.yaml@main From 20fc10b95f0aa54443d11357cebfafe72fd8d3ed Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Fri, 25 Jul 2025 22:28:49 +0900 Subject: [PATCH 2/2] Fix release repo --- .github/workflows/alpine-ros1-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/alpine-ros1-release.yaml b/.github/workflows/alpine-ros1-release.yaml index b8cd801..8bfb5eb 100644 --- a/.github/workflows/alpine-ros1-release.yaml +++ b/.github/workflows/alpine-ros1-release.yaml @@ -11,6 +11,7 @@ jobs: uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/alpine-ros1-release.yaml@main with: release-ref: ${{ github.event.release.tag_name }} + release-repo-slug: at-wat/alpine-ros1-releases source-branch: master git-user: Atsushi Watanabe git-email: 8390204+at-wat@users.noreply.github.com