Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Only try to commit formated files if running on the owncast/owncast repo
Gabe Kangasa6673d2d9039
diff --git a/.github/workflows/javascript-format-test-build.yml b/.github/workflows/javascript-format-test-build.ymlindex d8c801b71a..ba766936a0 100644--- a/.github/workflows/javascript-format-test-build.yml+++ b/.github/workflows/javascript-format-test-build.yml@@ -71,19 +71,27 @@ jobs:- name: Install Dependenciesrun: npm install+ - name: Lint and fix+ if: steps.changed-files-yaml.outputs.src_any_changed == 'true' && github.repository == 'owncast/owncast'+ run: npx eslint --fix ${{ steps.changed-files-yaml.outputs.src_all_changed_files }}+- name: Lint- if: steps.changed-files-yaml.outputs.src_any_changed == 'true'+ if: steps.changed-files-yaml.outputs.src_any_changed == 'true' && github.repository != 'owncast/owncast'run: npx eslint --fix ${{ steps.changed-files-yaml.outputs.src_all_changed_files }}- - name: Prettier- if: steps.changed-files-yaml.outputs.src_any_changed == 'true'+ - name: Prettier formatting+ if: steps.changed-files-yaml.outputs.src_any_changed == 'true' && github.repository == 'owncast/owncast'run: npx prettier --write ${{ steps.changed-files-yaml.outputs.src_all_changed_files }}+ - name: Prettier check+ if: steps.changed-files-yaml.outputs.src_any_changed == 'true' && github.repository != 'owncast/owncast'+ run: npx prettier ${{ steps.changed-files-yaml.outputs.src_all_changed_files }}+- name: Debug changed files outputrun: 'pwd && echo "Changed files: ${{ steps.changed-files-yaml.outputs.src_all_changed_files }}"'- name: Commit changes- if: steps.changed-files-yaml.outputs.src_any_changed == 'true'+ if: steps.changed-files-yaml.outputs.src_any_changed == 'true' && github.repository == 'owncast/owncast'uses: EndBug/add-and-commit@v9with:author_name: Owncast