-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflow to notify of changed viewer.html
Signed-off-by: Simon L <szaimen@e.mail.de>
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Update viewer.php - viewer.html got updated so viewer.php needs an update | ||
|
||
on: | ||
pull_request: | ||
types: [opened, ready_for_review, reopened, synchronize] | ||
paths: | ||
- 'js/pdfjs/web/viewer.html' | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: update-viewer-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-viewer: | ||
name: Update viewer.php - viewer.html got updated so viewer.php needs an update | ||
|
||
if: github.event.pull_request.draft == false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Update viewer.php - viewer.html got updated so viewer.php needs an update | ||
run: | | ||
echo "Update viewer.php - viewer.html got updated so viewer.php needs an update" | ||
exit 1 |