Skip to content

Commit 0e0914c

Browse files
committed
Add GH Actions workflow to create an issue on changed usage part of imgproxy docs
1 parent 66a8016 commit 0e0914c

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/templates/ISSUE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Usage docs of imgproxy have been updated
3+
assignees: DarthSim
4+
labels: enhancement
5+
---
6+
@{{ payload.client_payload.actor }} has just updated the [Usage](https://docs.imgproxy.net/usage) part of the documentation.
7+
Please, check [the difference]({{ payload.client_payload.link }}) and make the necessary changes.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# This action is triggered by the repository_dispatch event
3+
# published by the imgproxy/imgproxy-docs repository.
4+
# It creates an issue and assign it to the gem's maintainers.
5+
#
6+
---
7+
name: Create an issue about updated imgproxy docs
8+
on:
9+
repository_dispatch:
10+
types:
11+
- imgproxy-usage-updated
12+
13+
jobs:
14+
create-issue:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
issues: write
19+
steps:
20+
- name: Checkout the repository
21+
uses: actions/checkout@v4
22+
23+
- name: Create an issue
24+
uses: JasonEtco/create-an-issue@v2
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
filename: .github/templates/ISSUE.md

0 commit comments

Comments
 (0)