This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c43bb3a
commit bcb3197
Showing
1 changed file
with
3 additions
and
6 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 |
---|---|---|
|
@@ -4,14 +4,13 @@ on: | |
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
ref: "master" | ||
|
||
- name: Download OpenAPI file | ||
run: curl -s https://api.jellyfin.org/openapi/jellyfin-openapi-stable.json > openapi.json | ||
|
@@ -57,9 +56,7 @@ jobs: | |
with: | ||
node-version: 14 | ||
cache: "npm" | ||
cache-dependency-path: | | ||
stable/package-lock.json | ||
unstable/package-lock.json | ||
cache-dependency-path: stable/package-lock.json | ||
|
||
- name: Install dependencies | ||
if: ${{ steps.diff.outputs.count }} > 0 | ||
|
@@ -73,7 +70,7 @@ jobs: | |
|
||
# "echo" in commit returns true so the build succeeds, even if no changed files | ||
- name: Commit new changes to the repo | ||
if: ${{ steps.diff.outputs.count }} > 0 | ||
if: ${{ steps.diff.outputs.count }} > 0 && github.event_name != 'pull_request' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Jellyfin Packaging Team" | ||
|