diff --git a/.github/workflows/alpine-ros2-release.yaml b/.github/workflows/alpine-ros2-release.yaml new file mode 100644 index 0000000..0b221ae --- /dev/null +++ b/.github/workflows/alpine-ros2-release.yaml @@ -0,0 +1,29 @@ +name: release +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + test: + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/alpine-ros2-release.yaml@main + strategy: + fail-fast: false + matrix: + ROS_DISTRO: ["humble", "jazzy"] + with: + release-ref: ${{ github.event.release.tag_name }} + release-repo-slug: alpine-ros-bot/sample-ros-pkg-release + source-branch: main + ros-distro: ${{ matrix.ROS_DISTRO }} + rosdistro-repo-slug: alpine-ros/rosdistro + rosdistro-repo-branch: alpine-custom-apk + rosdistro-fork-slug: alpine-ros-bot/rosdistro + git-user: alpine-ros-bot + git-email: 214657941+alpine-ros-bot@users.noreply.github.com + dry-run: false + secrets: + token: ${{ secrets.BOT_GITHUB_TOKEN }} + token-pr: ${{ secrets.PR_GITHUB_TOKEN }} diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml new file mode 100644 index 0000000..d958bdc --- /dev/null +++ b/.github/workflows/create-release.yaml @@ -0,0 +1,14 @@ +name: auto-release +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + test: + uses: alpine-ros/alpine-ros-ci-workflows/.github/workflows/auto-release.yaml@main + secrets: + token: ${{ secrets.AR_GITHUB_TOKEN }} diff --git a/.github/workflows/release-candidate.yaml b/.github/workflows/release-candidate.yaml new file mode 100644 index 0000000..7e4cd09 --- /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: + test: + 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: main + git-user: alpine-ros-bot + git-email: 214657941+alpine-ros-bot@users.noreply.github.com + pr-body: "close #${{ github.event.issue.number }}" + pr-assignee: ${{ github.actor }} + secrets: + token: ${{ secrets.AR_GITHUB_TOKEN }}