Skip to content

Commit

Permalink
feat: add release checklist commenter
Browse files Browse the repository at this point in the history
  • Loading branch information
amsmith-pro committed Oct 17, 2023
1 parent 838cac4 commit 285636e
Show file tree
Hide file tree
Showing 3 changed files with 459 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release_checklist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## DO NOT EDIT!
# This file was provisioned by Terraform
# File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/rust-all/.github/workflows/rust_ci.yml

on:
pull_request:
branches:
- develop
- main
paths:
- "**/*.rs"
- "Cargo.lock"
- "**/Cargo.toml"

name: Release Checklist

jobs:
release_checklist:
name: Release Checklist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo CHECKLIST_OUTPUT=$(make release-checklist) >> $GITHUB_ENV
- uses: thollander/actions-comment-pull-request@v1
continue-on-error: true
with:
message: |
:clipboard: Release Checklist :white_check_mark:
<details>
${{ env.CHECKLIST_OUTPUT }}
</details>
comment_includes: ':clipboard: Release Checklist :white_check_mark:'
4 changes: 4 additions & 0 deletions .make/base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ docker_run = docker run \

docker-pull:
@echo docker pull -q $(SANITYCHECKS_IMAGE_NAME):$(SANITYCHECKS_IMAGE_TAG)

release-checklist: check-cargo-registry rust-docker-pull
@echo "$(CYAN)Running release checklist...$(SGR0)"
@$(call docker_run,python3 scripts/release_checklist.py)
Loading

0 comments on commit 285636e

Please sign in to comment.