Skip to content

Commit

Permalink
Add GH Actions workflow to create an issue on changed usage part of i…
Browse files Browse the repository at this point in the history
…mgproxy docs
  • Loading branch information
DarthSim committed Feb 1, 2024
1 parent 66a8016 commit 0e0914c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/templates/ISSUE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Usage docs of imgproxy have been updated
assignees: DarthSim
labels: enhancement
---
@{{ payload.client_payload.actor }} has just updated the [Usage](https://docs.imgproxy.net/usage) part of the documentation.
Please, check [the difference]({{ payload.client_payload.link }}) and make the necessary changes.
28 changes: 28 additions & 0 deletions .github/workflows/imgproxy-usage-updated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# This action is triggered by the repository_dispatch event
# published by the imgproxy/imgproxy-docs repository.
# It creates an issue and assign it to the gem's maintainers.
#
---
name: Create an issue about updated imgproxy docs
on:
repository_dispatch:
types:
- imgproxy-usage-updated

jobs:
create-issue:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Create an issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/templates/ISSUE.md

0 comments on commit 0e0914c

Please sign in to comment.