Skip to content

Create highlight PR #25

Create highlight PR

Create highlight PR #25

# This workflow, when done, creates automatically
# a pull request with all highlights comming from selected apps
# in .github repository.
name: Create highlight PR
# Trigger by cronjob
on:
schedule:
# It runs at 7:00 every weekday
- cron: "0 7 * * THU"
workflow_dispatch: {} # Allow manual triggering
jobs:
update-generated-content:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Collect changelog entries
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
run: make collect-changelog-entries
- name: Create or update highlight pull request
uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b # v1.10.1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
title: "Weekly highlights update"
branch: "automatic-highlight-update"
commit-message: "Update highlights"
assignees: taylorbot
reviewers: giantswarm/product-owners
body: |
This PR has been created automatically by the 'Create highlight PR' Github workflow
to publish the weekly highlights.
This action is triggered every Thursday morning to collect all the highlights from the selected apps in giantswarm/github repository. The highlights are collected from the changelog entries from .github repository apps.
Please review the changes, group the entries for each app making sure it is digestible for the customers and highlight the breaking changes in the top.