This commit is contained in:
pseusys
2023-02-26 08:01:04 +01:00
parent 030fb4d03f
commit 80967953cf
4 changed files with 32 additions and 48 deletions

View File

@@ -2,7 +2,7 @@ name: REVIEW_PULL_REQUEST
on:
pull_request:
types: [ opened, edited, reopened, synchronize ]
types: [ review_requested ]
paths:
- 'sources/**'
- 'requirements.txt'
@@ -15,6 +15,7 @@ concurrency:
jobs:
publish-server-image:
name: Run Test and Review PR
if: ${{ github.event.requested_reviewer.login == 'anmol098'}}
runs-on: ubuntu-latest
steps:
@@ -36,9 +37,7 @@ jobs:
env:
INPUT_GH_TOKEN: ${{ secrets.INPUT_GITHUB_TOKEN }}
INPUT_WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
CURRENT_GITHUB_ACTION_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This is for testing purpose only not for production
PR_NUMBER: ${{ github.event.number }} # This is for testing purpose only not for production
INPUT_SHOW_TIMEZONE: true
INPUT_SHOW_TIMEZONE: True
INPUT_SHOW_PROJECTS: True
INPUT_SHOW_EDITORS: True
INPUT_SHOW_OS: True
@@ -56,7 +55,5 @@ jobs:
INPUT_COMMIT_BY_ME: True
INPUT_DEBUG_LOGGING: True # This is for testing purpose only not for production
DEBUG_RUN: True # This is for testing purpose only not for production
PR_NUMBER: ${{ github.event.number }} # This is for testing purpose only not for production
run: python3 sources/main.py