-
Notifications
You must be signed in to change notification settings - Fork 603
43 lines (37 loc) · 1.14 KB
/
fetch-konnect-changelog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Update Konnect Changelog
on: workflow_dispatch
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}
permissions:
contents: write
pull-requests: write
jobs:
update-changelog:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Run changelog script
working-directory: tools/beamer
env:
BEAMER_API_KEY: ${{ secrets.BEAMER_API_KEY }}
run: |
npm ci
node fetch-beamer-posts.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: Automated Konnect changelog update [skip-ci]
body: |
Latest Konnect changelog entries from beamer
labels: skip-changelog,review:general
base: main
branch: automated-konnect-changelog-update
token: ${{ secrets.PAT }}
committer: kong-docs[bot] <[email protected]>
author: kong-docs[bot] <[email protected]>
delete-branch: true
commit-message: "Automated Konnect changelog update"