Skip to content

Commit

Permalink
fork customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
User123698745 authored and actions-user committed Nov 29, 2023
1 parent 609eed1 commit dc6b528
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 95 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/bridgestatus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Bridge status overview

on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 4

jobs:
update-comment:
name: Update comment
runs-on: ubuntu-latest
env:
PYTHONUNBUFFERED: 1
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup environment
run: |-
cp .github/prtester-requirements.txt requirements.txt
- name: Build docker image
run: |-
docker build --tag rssbridge .
- name: Run docker image
run: |-
docker run --detach --env RSSBRIDGE_system_enabled_bridges=* --env RSSBRIDGE_system_enable_debug_mode=true --publish 3000:80 rssbridge
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.7'
cache: 'pip'
- name: Install python requirements
run: |-
pip install --requirement requirements.txt
- name: Run prtester.py
run: |-
python .github/prtester.py --title "${{ vars.OVERVIEW_ISSUE_COMMENT_TITLE }}" --output-file "comment.md" --reduced-upload --instances "http://localhost:3000"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: comment.md
if-no-files-found: error
- name: Find comment
uses: peter-evans/find-comment@v2
id: find_comment
with:
issue-number: ${{ vars.OVERVIEW_ISSUE_ID }}
comment-author: 'github-actions[bot]'
body-includes: ${{ vars.OVERVIEW_ISSUE_COMMENT_TITLE }}
- name: Update comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ vars.OVERVIEW_ISSUE_ID }}
comment-id: ${{ steps.find_comment.outputs.comment-id }}
body-file: comment.md
edit-mode: replace
61 changes: 0 additions & 61 deletions .github/workflows/dockerbuild.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/documentation.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Lint

on:
push:
branches: [ master ]
workflow_dispatch:
pull_request:
branches: [ master ]
branches: '**'

jobs:
phpcs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prhtmlgenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'PR Testing'

on:
pull_request_target:
branches: [ master ]
branches: '**'

jobs:
test-pr:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Tests

on:
push:
branches: [ master ]
workflow_dispatch:
pull_request:
branches: [ master ]
branches: '**'

jobs:
phpunit8:
Expand Down

0 comments on commit dc6b528

Please sign in to comment.