release(hive-cli): 0.6.6 #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Draft Pull Request and comment Guidelines | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
draft-pr: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Comment Guidelines and mark PR as draft | |
if: github.event.action == 'opened' | |
run: | | |
echo -e "$BODY" | gh issue comment "$NUMBER" -F - | |
gh pr ready ${{ github.event.pull_request.number }} --undo | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.number }} | |
BODY: | | |
Thank you for opening a PR. I will put this into draft mode. Please check the following guidelines: | |
- The PR should only alter ONE image and thus changes should be limited to one folder in image | |
- The folder you are changing should have a Dockerfile | |
- The last commit message should be in the format: `release(|image-name|): |version|` | |
- The image with your version should not be already present in the registry | |
- The build should be successful | |
Mark this PR as ready when you have addressed the above guidelines. | |
- name: Comment Guidelines and mark PR as draft | |
if: github.event.action == 'synchronize' | |
run: | | |
echo -e "$BODY" | gh issue comment "$NUMBER" -F - | |
gh pr ready ${{ github.event.pull_request.number }} --undo | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.number }} | |
BODY: | | |
Something has changed in the PR. I will put this into draft mode. |