From 379a511fd1f6262a99c82817370385164e24a610 Mon Sep 17 00:00:00 2001 From: ybonatakis Date: Mon, 29 Apr 2024 14:54:52 +0200 Subject: [PATCH] Another test Signed-off-by: ybonatakis --- .github/workflows/preview.yaml | 5 +++-- action.yaml | 4 +++- queries.yaml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 80e57ab..642d485 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -9,13 +9,14 @@ on: - reopened - synchronize - closed - branches: - - "**" + jobs: backlogger_preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Run the action implemented in this repo uses: ./ with: diff --git a/action.yaml b/action.yaml index 1bbf055..d1534a7 100644 --- a/action.yaml +++ b/action.yaml @@ -54,7 +54,9 @@ runs: shell: bash - name: Render Markdown from configured backlog queries run: | - python backlogger/backlogger.py ${{ inputs.config }} ${{ inputs.args }} + python backlogger/backlogger.py backlogger/${{ inputs.config }} ${{ inputs.args }} + pwd + cat index.md echo "BACKLOG_STATUS=$?" >> "$GITHUB_ENV" env: REDMINE_API_KEY: ${{ inputs.REDMINE_API_KEY }} diff --git a/queries.yaml b/queries.yaml index 934964c..5cdc54c 100644 --- a/queries.yaml +++ b/queries.yaml @@ -16,7 +16,7 @@ queries: max: 0 - title: In Feedback query: query_id=520 - max: 30 + max: 10 min: 1 - title: Closed yesterday query: query_id=773